Skip to content
Permalink
Browse files
netfs: Generate a buffered writeback from ->writepages()
Handle the initiation of writeback of a piece of the dirty list.  A slice
of a dirty region is extracted and a writeback record is set up to manage
it.  The pages in the affected region are flipped from dirty to
writeback-in-progress.

The writeback is then dispatched (which at this point just logs a message
to dmesg and then abandons it).

Signed-off-by: David Howells <dhowells@redhat.com>
  • Loading branch information
dhowells committed Feb 16, 2022
1 parent 53bcc0c commit 7c84dbfe72c00f7456ead2d9ba8af5ece7d58222
Show file tree
Hide file tree
Showing 7 changed files with 595 additions and 1 deletion.
@@ -6,6 +6,7 @@ netfs-y := \
direct.o \
misc.o \
objects.o \
output.o \
read_helper.o

netfs-$(CONFIG_NETFS_STATS) += stats.o

0 comments on commit 7c84dbf

Please sign in to comment.