diff options
author | Martin Brandenburg <martin@omnibond.com> | 2018-12-14 23:04:21 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2019-05-03 20:32:39 +0200 |
commit | c472ebc25555e634d89e1ed508d37c9102bff017 (patch) | |
tree | 073011cd91aad62aaa470f2c7e0e4b3dc9854394 /fs/orangefs | |
parent | orangefs: write range tracking (diff) | |
download | linux-c472ebc25555e634d89e1ed508d37c9102bff017.tar.xz linux-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.c | 1 |
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; } |