aboutsummaryrefslogtreecommitdiffstats
path: root/fs/orangefs
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2018-12-14 17:04:21 -0500
committerMike Marshall <hubcap@omnibond.com>2019-05-03 14:32:39 -0400
commitc472ebc25555e634d89e1ed508d37c9102bff017 (patch)
tree073011cd91aad62aaa470f2c7e0e4b3dc9854394 /fs/orangefs
parentorangefs: write range tracking (diff)
downloadlinux-dev-c472ebc25555e634d89e1ed508d37c9102bff017.tar.xz
linux-dev-c472ebc25555e634d89e1ed508d37c9102bff017.zip
orangefs: implement writepages
Go through pages and look for a consecutive writable region. After finding a number of consecutive writable pages or when finding that the next page's dirty range is not contiguous and cannot be written as one request, send the write to the server. The number of pages is determined by the client-core's buffer size. Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-rw-r--r--fs/orangefs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c
index f409ac5d3410..405449ce4b02 100644
--- a/fs/orangefs/file.c
+++ b/fs/orangefs/file.c
@@ -386,6 +386,7 @@ static int orangefs_file_release(struct inode *inode, struct file *file)
gossip_debug(GOSSIP_INODE_DEBUG,
"flush_racache finished\n");
}
+
}
return 0;
}