]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: only remove page from mapping if launder_page fails
authorPeng Tao <tao.peng@primarydata.com>
Sat, 5 Dec 2015 08:20:43 +0000 (16:20 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 28 Dec 2015 19:32:38 +0000 (14:32 -0500)
commit377e0a826181e4465279f83f392a06cc580aa4f2
tree73d556f77eb68743a0752e150c493bd4062cad59
parent8c198192957f3840d9f8e12556dfa535f021f212
nfs: only remove page from mapping if launder_page fails

Instead of dropping pages when write fails, only do it when
we get fatal failure in launder_page write back.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/file.c
fs/nfs/write.c
include/linux/nfs_fs.h