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)
commit02d1426c7053da7c5a828ae9cd7b636ea4e46bf7
treec241cc5c33ce52da89ecf04486988b21c85d0203
parentb412ddf0661e11485876a202c48868143e3a01cf
pnfs: find swapped pages on pnfs commit lists too

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