Re: [PATCH v10 1/2] fuse: add kernel-enforced timeout option for requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (24/12/15 21:16), Etienne Martineau wrote:
> > >       void fuse_abort_conn()
> > >       {
> > >               cancel_delayed_work_sync()
> > >               __fuse_abort_conn();
> > >       }
> >
> > That seems like a reasonable solution. It already doesn't requeue the
> > job when calling fuse_abort_conn(), so that should work.
> > --
> > Jeff Layton <jlayton@xxxxxxxxxx>
> 
> I'm not sure this is going to work either.
> What happens if say fuse_check_timeout() is running and is about to
> requeue the work and
> at the same time umount->fuse_abort_conn->cancel_delayed_work_sync() comes.

Good point.  Perhaps a flag to make en-queueing conditional then, which
will be set/cleared before cancel_delayed_work_sync()?




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux