pnfs: find swapped pages on pnfs commit lists too
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 18 Jul 2014 00:42:17 +0000 (20:42 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 3 Aug 2014 21:05:25 +0000 (17:05 -0400)
nfs_page_find_head_request_locked looks through the regular nfs commit lists
when the page is swapped out, but doesn't look through the pnfs commit lists.

I'm not sure if anyone has hit any issues caused by this.

Suggested-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/filelayout/filelayout.c
fs/nfs/pnfs.h
fs/nfs/write.c

Simple merge
diff --cc fs/nfs/pnfs.h
Simple merge
diff --cc fs/nfs/write.c
Simple merge