summaryrefslogtreecommitdiff
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2021-06-18 18:21:49 +0300
committerDarrick J. Wong <djwong@kernel.org>2021-06-21 20:05:51 +0300
commit0431d926b399d74f1cde2c355d48289c6d7fa882 (patch)
tree511af9e1cc66b14b64fb5ef8b0f508a94680015a /kernel/ksysfs.c
parentb5071ada510a76eac0d02912bf66297b9e30ca59 (diff)
downloadlinux-0431d926b399d74f1cde2c355d48289c6d7fa882.tar.xz
xfs: async blkdev cache flush
The new checkpoint cache flush mechanism requires us to issue an unconditional cache flush before we start a new checkpoint. We don't want to block for this if we can help it, and we have a fair chunk of CPU work to do between starting the checkpoint and issuing the first journal IO. Hence it makes sense to amortise the latency cost of the cache flush by issuing it asynchronously and then waiting for it only when we need to issue the first IO in the transaction. To do this, we need async cache flush primitives to submit the cache flush bio and to wait on it. The block layer has no such primitives for filesystems, so roll our own for the moment. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions