Commit 7e6cca6c authored by Trond Myklebust's avatar Trond Myklebust

NFS: Remove page group limit in nfs_flush_incompatible()

nfs_try_to_update_request() should be able to cope now.
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent f6032f21
...@@ -1205,8 +1205,6 @@ int nfs_flush_incompatible(struct file *file, struct page *page) ...@@ -1205,8 +1205,6 @@ int nfs_flush_incompatible(struct file *file, struct page *page)
l_ctx = req->wb_lock_context; l_ctx = req->wb_lock_context;
do_flush = req->wb_page != page || do_flush = req->wb_page != page ||
!nfs_match_open_context(req->wb_context, ctx); !nfs_match_open_context(req->wb_context, ctx);
/* for now, flush if more than 1 request in page_group */
do_flush |= req->wb_this_page != req;
if (l_ctx && flctx && if (l_ctx && flctx &&
!(list_empty_careful(&flctx->flc_posix) && !(list_empty_careful(&flctx->flc_posix) &&
list_empty_careful(&flctx->flc_flock))) { list_empty_careful(&flctx->flc_flock))) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment