diff options
| author | Yu Kuai <yukuai3@huawei.com> | 2025-08-29 16:04:18 +0800 |
|---|---|---|
| committer | Yu Kuai <yukuai3@huawei.com> | 2025-09-06 17:18:19 +0800 |
| commit | ac9dad8faaa7b2a7c7c6de0017f2d7d54525d33c (patch) | |
| tree | 2f9b401b423a47a13942a8dd2769ff75d8c1e332 /rust/helpers/workqueue.c | |
| parent | 7797da149d4622bbe803eaee6eaf22a7f62f44ab (diff) | |
md/md-bitmap: support discard for bitmap ops
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>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
