diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-04-29 16:21:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 18:28:40 -0700 |
commit | 2628b7a6ac0d7d8246b6781a3e4489d78391ab54 (patch) | |
tree | 9befb3e857086352412a785ec779f4ea74bb845d /net/ipv4 | |
parent | 35623715818dfa720cccf99cd280dcbb4b78da23 (diff) | |
download | linux-2628b7a6ac0d7d8246b6781a3e4489d78391ab54.tar.bz2 |
fat: introduce 2 new values for the -o nfs mount option
This patchset eliminates the client side ESTALE errors when a FAT
partition exported over NFS has its dentries evicted from the cache. The
idea is to find the on-disk location_'i_pos' of the dirent of the inode
that has been evicted and use it to rebuild the inode.
This patch:
Provide two possible values 'stale_rw' and 'nostale_ro' for the -o nfs
mount option.The first one allows all file operations but does not reduce
ESTALE errors on memory constrained systems. The second one eliminates
ESTALE errors but mounts the filesystem as read-only. Not specifying a
value defaults to 'stale_rw'.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ravishankar N <ravi.n1@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions