mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2025-04-20 05:08:28 +09:00

Provide helpers for file systems to split bios in the direct I/O and writeback I/O submission handlers. The split ioends are chained to the parent ioend so that only the parent ioend originally generated by the iomap layer will be processed after all the chained off children have completed. This is based on the block layer bio chaining that has supported a similar mechanism for a long time. This Follows btrfs' lead and don't try to build bios to hardware limits for zone append commands, but instead build them as normal unconstrained bios and split them to the hardware limits in the I/O submission handler. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20250206064035.2323428-5-hch@lst.de Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
19 lines
374 B
Makefile
19 lines
374 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Copyright (c) 2019 Oracle.
|
|
# All Rights Reserved.
|
|
#
|
|
|
|
ccflags-y += -I $(src) # needed for trace events
|
|
|
|
obj-$(CONFIG_FS_IOMAP) += iomap.o
|
|
|
|
iomap-y += trace.o \
|
|
iter.o
|
|
iomap-$(CONFIG_BLOCK) += buffered-io.o \
|
|
direct-io.o \
|
|
ioend.o \
|
|
fiemap.o \
|
|
seek.o
|
|
iomap-$(CONFIG_SWAP) += swapfile.o
|