diff options
author | Martin Brandenburg <martin@omnibond.com> | 2018-12-14 17:04:21 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2019-05-03 14:32:39 -0400 |
commit | c472ebc25555e634d89e1ed508d37c9102bff017 (patch) | |
tree | 073011cd91aad62aaa470f2c7e0e4b3dc9854394 /fs/orangefs | |
parent | 52e2d0a3804c095775b178d6b0707ef6ac8e6d04 (diff) | |
download | lwn-c472ebc25555e634d89e1ed508d37c9102bff017.tar.gz lwn-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; } |