search for: forget

Displaying 20 results from an estimated 8616 matches for "forget".

2019 Oct 30
0
[PATCH 1/3] virtiofs: Use a common function to send forget
Currently we are duplicating logic to send forgets at two places. Consolidate the code by calling one helper function. This also uses virtqueue_add_outbuf() instead of virtqueue_add_sgs(). Former is simpler to call. Signed-off-by: Vivek Goyal <vgoyal at redhat.com> --- fs/fuse/virtio_fs.c | 150 +++++++++++++++++++-------------------------...
2019 Oct 30
6
[PATCH 0/3] virtiofs: Small Cleanups for 5.5
Hi Miklos, Here are few small cleanups for virtiofs for 5.5. I had received some comments from Michael Tsirkin on original virtiofs patches and these cleanups are result of these comments. Thanks Vivek Vivek Goyal (3): virtiofs: Use a common function to send forget virtiofs: Do not send forget request "struct list_head" element virtiofs: Use completions while waiting for queue to be drained fs/fuse/virtio_fs.c | 204 ++++++++++++++++++++++---------------------- 1 file changed, 103 insertions(+), 101 deletions(-) -- 2.20.1
2019 Oct 15
0
[PATCH 4/5] virtiofs: Count pending forgets as in_flight forgets
If virtqueue is full, we put forget requests on a list and these forgets are dispatched later using a worker. As of now we don't count these forgets in fsvq->in_flight variable. This means when queue is being drained, we have to have special logic to first drain these pending requests and then wait for fsvq->in_flight to go...
2019 Oct 30
0
[PATCH 2/3] virtiofs: Do not send forget request "struct list_head" element
...ons(+), 5 deletions(-) diff --git a/fs/fuse/virtio_fs.c b/fs/fuse/virtio_fs.c index 6cc7be170cb8..43224db8d9ed 100644 --- a/fs/fuse/virtio_fs.c +++ b/fs/fuse/virtio_fs.c @@ -48,11 +48,15 @@ struct virtio_fs { unsigned int num_request_queues; /* number of request queues */ }; -struct virtio_fs_forget { +struct virtio_fs_forget_req { struct fuse_in_header ih; struct fuse_forget_in arg; +}; + +struct virtio_fs_forget { /* This request can be temporarily queued on virt queue */ struct list_head list; + struct virtio_fs_forget_req req; }; static int virtio_fs_enqueue_req(struct virtio_f...
2019 Sep 05
0
[PATCH v4 15/16] virtio-fs: add virtiofs filesystem
...ev *fud; > > + bool connected; > > + long in_flight; > > + char name[24]; > > I'd keep names somewhere separate as they are not used on data path. Ok, this sounds like a nice to have. Will take care of this once base patch gets merged. [..] > > +struct virtio_fs_forget { > > + struct fuse_in_header ih; > > + struct fuse_forget_in arg; > > These structures are all native endian. > > Passing them to host will make cross-endian setups painful to support, > and hardware implementations impossible. > > How about converting everythin...
2006 Dec 08
1
Asterisk forgetting about client registration or Polycom phone forgetting to register?
I'm having trouble with Polycom 501 phones that asterisk forgets how to reach them. /etc/asterisk/sip.conf: [general] context=default MusicOnHold=default port=5060 bindaddr=0.0.0.0 srvlookup=no;yes language=en dtmfmode=rfc2833 maxexpiry=600 defaultexpiry=120 [502] type=friend username=502 secret=pass host=dynamic mailbox=502@rm callerid= "Operator"...
2019 Sep 05
0
[PATCH 08/18] virtiofs: Drain all pending requests during ->remove time
...ck(&fsvq->lock); + break; + } + spin_unlock(&fsvq->lock); + usleep_range(1000, 2000); + } + + flush_work(&fsvq->done_work); + flush_delayed_work(&fsvq->dispatch_work); +} + +static inline void drain_hiprio_queued_reqs(struct virtio_fs_vq *fsvq) +{ + struct virtio_fs_forget *forget; + + spin_lock(&fsvq->lock); + while (1) { + forget = list_first_entry_or_null(&fsvq->queued_reqs, + struct virtio_fs_forget, list); + if (!forget) + break; + list_del(&forget->list); + kfree(forget); + } + spin_unlock(&fsvq->lock); +} + +static void v...
2019 Sep 03
4
[PATCH v4 15/16] virtio-fs: add virtiofs filesystem
...uct virtio_fs { > + struct list_head list; /* on virtio_fs_instances */ > + char *tag; > + struct virtio_fs_vq *vqs; > + unsigned int nvqs; /* number of virtqueues */ > + unsigned int num_queues; /* number of request queues */ > +}; > + > +struct virtio_fs_forget { > + struct fuse_in_header ih; > + struct fuse_forget_in arg; These structures are all native endian. Passing them to host will make cross-endian setups painful to support, and hardware implementations impossible. How about converting everything to LE? > + /* This request can be temp...
2019 Sep 03
4
[PATCH v4 15/16] virtio-fs: add virtiofs filesystem
...uct virtio_fs { > + struct list_head list; /* on virtio_fs_instances */ > + char *tag; > + struct virtio_fs_vq *vqs; > + unsigned int nvqs; /* number of virtqueues */ > + unsigned int num_queues; /* number of request queues */ > +}; > + > +struct virtio_fs_forget { > + struct fuse_in_header ih; > + struct fuse_forget_in arg; These structures are all native endian. Passing them to host will make cross-endian setups painful to support, and hardware implementations impossible. How about converting everything to LE? > + /* This request can be temp...
2009 Nov 18
4
Switch Help
Dear Rexperts, Given, aar <-function(command) { switch(command, {scrn = cat("scrn :Screening","\n")} {dx = cat("dx :Diagnosis","\n")} {df = cat("df :Don't Forget","\n")} ) } I want to be able to do: aar("dx") # function does cat("dx :Diagnosis","\n") aar(c("dx","df")) # function does cat("dx :Diagnosis","\n") # function does df = cat(&quo...
2010 Oct 29
1
How to clean/reset glusterfs config?
Hello, I'm trying to set up an experimental gluster storage cluster using virtual machines (VMs) on Xen. I want to be able to instruct the VMs to "forget" any previous gluster configuration (i.e. the server to forget about all previously configured peers, the peers to forget what storage volumes they are providing, etc). The use case is that the VMs will can be attached to different data stores (bricks?) at different times due to their allocat...
2018 Jun 21
3
hosts allow option is not applaying without restart smbd
...n 2018 19:17:14 +0700 Vladimir Eltsov via samba <samba at lists.samba.org> wrote: > Hello. > > I have read man smbcontrol. > > I wrote in start message: > > > I have tried: > > systemctl reload smbd.service > > killall -1 smbd > > pkill -HUP smbd Forget 'systemctl reload' Forget 'killall' Forget 'pkill' > > smbcontrol smbd reload-config This is the one that should work, this should make smbd reload smb.conf You could try 'smbcontrol all reload-config' You should also note, that this will probably need to be...
2017 Nov 13
2
What is the difference between FORGET and UNLINK fops
Hi, Can I get a brief description of all the FOPS in gluster or the location of the source code file so that I will try to get an understanding myself? Few FOPS I'm not clear like FORGET, UNLINK, FLUSH, LOOKUP Or is there a way I can tunnel through the FOPS that that are happening in the background for each operation? I have tried this to find from a brick logfile in TRACE mode, but there are way too many calls, but are in form of some system calls but not FOPS. Regards, Jeevan....
2019 Sep 06
1
[PATCH v4 15/16] virtio-fs: add virtiofs filesystem
...; + long in_flight; > > > + char name[24]; > > > > I'd keep names somewhere separate as they are not used on data path. > > Ok, this sounds like a nice to have. Will take care of this once base > patch gets merged. > > [..] > > > +struct virtio_fs_forget { > > > + struct fuse_in_header ih; > > > + struct fuse_forget_in arg; > > > > These structures are all native endian. > > > > Passing them to host will make cross-endian setups painful to support, > > and hardware implementations impossible. > &...
2009 Apr 02
5
Don't forget to use torrents for your downloads!
For those who may forget, usin torrents to download and share the new images will get you faster downloads (if enough folks participate) if you have a "fat" pipe and alleviate the load on the CentOS servers. I have a "chubby" pipe (~ 1.2MB/sec) and got the stuff really quickly earlier today. If your t...
2006 Aug 30
2
CentOS-4.4 update: don't forget those rpmsave and rpmnew files folks!
After you do your update, done forget to do updatedb, makewhatis, ... The locate for rpmnew has a couple items of interest and the locate for rpmsave returns one that occupies 24MB of your precious disks - /var/lib/Pegasus/prev-repository*. It compresses nicely to appx. 1MB, cpio bzipped --best. Change in your rndc key too, for DNS.
2017 Nov 13
0
What is the difference between FORGET and UNLINK fops
...v 13, 2017 9:40 PM, "Jeevan Patnaik" <g1patnaik at gmail.com> wrote: > Hi, > > Can I get a brief description of all the FOPS in gluster or the location > of the source code file so that I will try to get an understanding myself? > > Few FOPS I'm not clear like FORGET, UNLINK, FLUSH, LOOKUP > > > Or is there a way I can tunnel through the FOPS that that are happening in > the background for each operation? I have tried this to find from a brick > logfile in TRACE mode, but there are way too many calls, but are in form of > some system calls but...
2002 Aug 22
2
NT4 WINS Server forgets samba servers
Hi, I do not know whether this is a samba problem or an NT feature, but it seems only to occur with samba boxes, so it could be samba's fault: The NT PDC (moritz) runs also the WINS server. It regularly forgets the IP addresses of our samba servers: # nmblookup -U moritz -R hni-gate querying hni-gate on 131.234.166.19 name_query failed to find name hni-gate I then just have to stop and start the nmbd on the samba server and everything is fine again. This happens about every two weeks or so. Has anyb...
2012 Jun 14
2
[LLVMdev] Default to "reply all" for mailing list messages?
...e irony of this reply is killing me :) On Wed, Jun 13, 2012 at 7:54 PM, Mikael Lyngvig <mikael at lyngvig.org> wrote: > You're not alone :) Don't let it bug you. > > I finally decided to install a GMail extension that enables reply-all for > all messages, because I kept forgetting. Perhaps you can find such an > extension or simply enable reply-all by default? After all, it is normally > pretty rare that you have multiple recipients and don't want to do a > reply-all. > > 2012/6/14 Sean Silva <silvas at purdue.edu> > >> Ugh, just forge...
2019 Sep 18
0
[PATCH v6] virtio-fs: add virtiofs filesystem
...kref refcount; > + struct list_head list; /* on virtio_fs_instances */ > + char *tag; > + struct virtio_fs_vq *vqs; > + unsigned int nvqs; /* number of virtqueues */ > + unsigned int num_queues; /* number of request queues */ > +}; > + > +struct virtio_fs_forget { > + struct fuse_in_header ih; > + struct fuse_forget_in arg; > + /* This request can be temporarily queued on virt queue */ > + struct list_head list; > +}; > + > +static inline struct virtio_fs_vq *vq_to_fsvq(struct virtqueue *vq) > +{ > + struct virtio_fs *fs = vq-&gt...