Re: [RFC][PATCH] nfsd regression since delayed fput()

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

 



On Thu, Oct 17, 2013 at 11:29:46AM -0700, Linus Torvalds wrote:
> On Thu, Oct 17, 2013 at 11:14 AM, J. Bruce Fields <bfields@xxxxxxxxxxxx> wrote:
> >
> > NFS isn't exportable and there aren't any plans to change that.
> 
> The thing is, other filesystems have other rules. Not everybody
> necessarily supports the Unix "you can remove files that are still in
> use" semantics, so I could imagine EBUSY etc happening..

Yes, but...  To get anything of that kind you would need to have a kernel
thread open a file on such fs, do IO and fput() it, then have something attempt
to unlink() it and fail with EBUSY due to fput() being delayed.  If that
something is *not* the same kernel thread, it's already racy - after all, if
that unlink() happens while the kernel thread does IO, we are going to get
what we are going to get.  And if it is the same thread...  What would it
be?  knfsd?  Exporting a filesystem with possible-EBUSY-on-unlink?
I don't see any exportable examples of that...
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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