Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nfs: allow coalescing of subpage requests

Remove check that the request covers a whole page.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>

authored by

Weston Andros Adamson and committed by
Trond Myklebust
6094f838 dd7663e7

-4
-4
fs/nfs/pagelist.c
··· 921 921 !nfs_match_lock_context(req->wb_lock_context, 922 922 prev->wb_lock_context)) 923 923 return false; 924 - if (req->wb_pgbase != 0) 925 - return false; 926 - if (prev->wb_pgbase + prev->wb_bytes != PAGE_CACHE_SIZE) 927 - return false; 928 924 if (req_offset(req) != req_offset(prev) + prev->wb_bytes) 929 925 return false; 930 926 }