summaryrefslogtreecommitdiffstats
path: root/fs/generic_acl.c
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2013-04-30 01:21:08 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 03:28:40 +0200
commit2628b7a6ac0d7d8246b6781a3e4489d78391ab54 (patch)
tree9befb3e857086352412a785ec779f4ea74bb845d /fs/generic_acl.c
parentdrivers/rtc/rtc-pcf2123.c: fix error return code in pcf2123_probe() (diff)
downloadlinux-2628b7a6ac0d7d8246b6781a3e4489d78391ab54.tar.xz
linux-2628b7a6ac0d7d8246b6781a3e4489d78391ab54.zip
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 'fs/generic_acl.c')
0 files changed, 0 insertions, 0 deletions