+3
−0
+8
−4
+11
−4
+1
−0
Loading
Use two new methods {start, end}_discard in bitmap_ops and a new field 'rw'
in struct md_io_clone to handle discard IO, prepare to support new md
bitmap.
Since all bitmap functions to hanlde write IO are the same, also add
typedef to make code cleaner.
Link: https://lore.kernel.org/linux-raid/20250829080426.1441678-4-yukuai1@huaweicloud.com
Signed-off-by:
Yu Kuai <yukuai3@huawei.com>
Reviewed-by:
Xiao Ni <xni@redhat.com>
Reviewed-by:
Hannes Reinecke <hare@suse.de>
Reviewed-by:
Li Nan <linan122@huawei.com>