projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd7663e
)
nfs: allow coalescing of subpage requests
author
Weston Andros Adamson
<dros@primarydata.com>
Thu, 15 May 2014 15:56:50 +0000
(11:56 -0400)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Thu, 29 May 2014 15:11:47 +0000
(11:11 -0400)
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>
fs/nfs/pagelist.c
patch
|
blob
|
history
diff --git
a/fs/nfs/pagelist.c
b/fs/nfs/pagelist.c
index ceb4424614aae7ecc50155ab8e6340df7c9a796f..838f7c9664f58b54fe4795ab96cfaf1a0f30842c 100644
(file)
--- a/
fs/nfs/pagelist.c
+++ b/
fs/nfs/pagelist.c
@@
-921,10
+921,6
@@
static bool nfs_can_coalesce_requests(struct nfs_page *prev,
!nfs_match_lock_context(req->wb_lock_context,
prev->wb_lock_context))
return false;
- if (req->wb_pgbase != 0)
- return false;
- if (prev->wb_pgbase + prev->wb_bytes != PAGE_CACHE_SIZE)
- return false;
if (req_offset(req) != req_offset(prev) + prev->wb_bytes)
return false;
}