Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netfs: Add a struct to group modifications together and flushed in order
Define struct netfs_flush_group for use in grouping related modifications together so that they can be flushed in some sort of order (ceph snaps, for instance). The netfs gets to start a new flush group when it needs to and this is added to the end of the fifo. When writes need to be written out, the flusher can only flush modifications from a group if all preceding groups have already been flushed. Implement object lifecycle functions for the struct. Display the count of extant netfs_flush_group structs in proc. Signed-off-by: David Howells <dhowells@redhat.com>
- Loading branch information
Showing
8 changed files
with
424 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.