Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-05 Thread Jeff Layton
On Mon, 4 Nov 2013 21:00:23 -0600 Shirish Pargaonkar wrote: > For a similar issue in cifs vfs (samba bugzilla 8950), I was going to try > unset the bit DCACHE_OP_REVALIDATE of d_flags of the > dentry. Would something like work for the mountpoint dentry? > > I don't think that's the same

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-05 Thread Jeff Layton
On Tue, 5 Nov 2013 13:39:59 +1100 NeilBrown wrote: > On Mon, 4 Nov 2013 20:16:26 -0500 Jeff Layton wrote: > > > We had a couple of reports of people that are mounting NFS filesystems, > > and then bind mounting certain local files onto dentries in that nfs > > mount (sort of like a poor-man's

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-05 Thread Christoph Hellwig
On Mon, Nov 04, 2013 at 09:00:23PM -0600, Shirish Pargaonkar wrote: > For a similar issue in cifs vfs (samba bugzilla 8950), I was going to try > unset the bit DCACHE_OP_REVALIDATE of d_flags of the > dentry. Would something like work for the mountpoint dentry? The DCACHE_OP_REVALIDATE are just

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-05 Thread Christoph Hellwig
On Mon, Nov 04, 2013 at 09:00:23PM -0600, Shirish Pargaonkar wrote: For a similar issue in cifs vfs (samba bugzilla 8950), I was going to try unset the bit DCACHE_OP_REVALIDATE of d_flags of the dentry. Would something like work for the mountpoint dentry? The DCACHE_OP_REVALIDATE are just

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-05 Thread Jeff Layton
On Tue, 5 Nov 2013 13:39:59 +1100 NeilBrown ne...@suse.de wrote: On Mon, 4 Nov 2013 20:16:26 -0500 Jeff Layton jlay...@redhat.com wrote: We had a couple of reports of people that are mounting NFS filesystems, and then bind mounting certain local files onto dentries in that nfs mount

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-05 Thread Jeff Layton
On Mon, 4 Nov 2013 21:00:23 -0600 Shirish Pargaonkar shirishpargaon...@gmail.com wrote: For a similar issue in cifs vfs (samba bugzilla 8950), I was going to try unset the bit DCACHE_OP_REVALIDATE of d_flags of the dentry. Would something like work for the mountpoint dentry? I don't

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-04 Thread Shirish Pargaonkar
For a similar issue in cifs vfs (samba bugzilla 8950), I was going to try unset the bit DCACHE_OP_REVALIDATE of d_flags of the dentry. Would something like work for the mountpoint dentry? On Mon, Nov 4, 2013 at 7:16 PM, Jeff Layton wrote: > We had a couple of reports of people that are

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-04 Thread NeilBrown
On Mon, 4 Nov 2013 20:16:26 -0500 Jeff Layton wrote: > We had a couple of reports of people that are mounting NFS filesystems, > and then bind mounting certain local files onto dentries in that nfs > mount (sort of like a poor-man's unionmount). > > This all works well until the dentry serving

[PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-04 Thread Jeff Layton
We had a couple of reports of people that are mounting NFS filesystems, and then bind mounting certain local files onto dentries in that nfs mount (sort of like a poor-man's unionmount). This all works well until the dentry serving as the mountpoint fails d_revalidate. The dentry will end up

[PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-04 Thread Jeff Layton
We had a couple of reports of people that are mounting NFS filesystems, and then bind mounting certain local files onto dentries in that nfs mount (sort of like a poor-man's unionmount). This all works well until the dentry serving as the mountpoint fails d_revalidate. The dentry will end up

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-04 Thread NeilBrown
On Mon, 4 Nov 2013 20:16:26 -0500 Jeff Layton jlay...@redhat.com wrote: We had a couple of reports of people that are mounting NFS filesystems, and then bind mounting certain local files onto dentries in that nfs mount (sort of like a poor-man's unionmount). This all works well until the

Re: [PATCH] [RFC] vfs: don't revalidate dentries that serve as mountpoints

2013-11-04 Thread Shirish Pargaonkar
For a similar issue in cifs vfs (samba bugzilla 8950), I was going to try unset the bit DCACHE_OP_REVALIDATE of d_flags of the dentry. Would something like work for the mountpoint dentry? On Mon, Nov 4, 2013 at 7:16 PM, Jeff Layton jlay...@redhat.com wrote: We had a couple of reports of