Thread (1 message) 1 message, 1 author, 2012-07-11

Re: [PATCH v3 00/17] vfs: add the ability to retry on ESTALE to several syscalls

From: Jeff Layton <hidden>
Date: 2012-07-11 19:00:39
Also in: linux-nfs, lkml

On Wed, 11 Jul 2012 13:42:23 -0500
"Steven J. Magnani" [off-list ref] wrote:
Jeff -

On Fri, 2012-06-29 at 14:57 -0400, Jeff Layton wrote: 
quoted
This patchset is the third version of the patchset to add ESTALE
handling to several syscalls. The basic idea is to allow the client to
gracefully retry the lookup and call when a NFS server returns ESTALE.
I exercised this using 3.5-rc5 against a memory-starved server that
exports a FAT-backed filesystem. Where normally I see lots of ESTALE
errors due to inode eviction, with this patchset I see none. And, the
performance is much better than the only other way I know to eliminate
the errors, which is to mount with 'lookupcache=none'.

It's not an exhaustive test by any means, just a data point for you. 
Thanks!

Lightly-tested-by: Steve Magnani [off-list ref]
Awesome -- thanks for testing it.

Yeah "lookupcache=none" has been the standard answer for people
suffering from ESTALE problems, but the perf hit can be quite nasty.
Avoiding that is one of the main drivers for handling ESTALE this way.

With luck, we'll see at least some of this set go in for 3.6.

-- 
Jeff Layton [off-list ref]
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help