diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-06-11 16:06:47 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-06-12 10:40:35 -0600 |
| commit | e8dcf2d142bd720c8334233ad6cfdf00f0e76b7f (patch) | |
| tree | fefe7d557847f9db46119ac89b8c14483f2d645b /block/Makefile | |
| parent | d39a63ead381c7ee93cd938ea2d759c17343b522 (diff) | |
| download | linux-e8dcf2d142bd720c8334233ad6cfdf00f0e76b7f.tar.gz linux-e8dcf2d142bd720c8334233ad6cfdf00f0e76b7f.tar.bz2 linux-e8dcf2d142bd720c8334233ad6cfdf00f0e76b7f.zip | |
block: add configurable error injection
Add a new block error injection interface that allows to inject specific
status code for specific ranges.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Md Haris Iqbal <haris.iqbal@linux.dev>
Link: https://patch.msgid.link/20260611140703.2401204-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/Makefile')
| -rw-r--r-- | block/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/Makefile b/block/Makefile index 54130faacc21..e7bd320e3d69 100644 --- a/block/Makefile +++ b/block/Makefile @@ -13,6 +13,7 @@ obj-y := bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \ genhd.o ioprio.o badblocks.o partitions/ blk-rq-qos.o \ disk-events.o blk-ia-ranges.o early-lookup.o +obj-$(CONFIG_BLK_ERROR_INJECTION) += error-injection.o obj-$(CONFIG_BLK_DEV_BSG_COMMON) += bsg.o obj-$(CONFIG_BLK_DEV_BSGLIB) += bsg-lib.o obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o |