orangefs: implement writepages
authorMartin Brandenburg <martin@omnibond.com>
Fri, 14 Dec 2018 22:04:21 +0000 (17:04 -0500)
committerMike Marshall <hubcap@omnibond.com>
Fri, 3 May 2019 18:32:39 +0000 (14:32 -0400)
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>
fs/orangefs/file.c

index f409ac5d3410661c0557f6c7f3226d0c98aa545e..405449ce4b0264da1c4bdb138f6b1b31062ecdc3 100644 (file)
@@ -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;
 }