diff options
| author | Logan Gunthorpe <[email protected]> | 2022-06-16 13:19:41 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-08-02 17:14:42 -0600 |
| commit | 4ad1d9849ffa8738b5e9b3f8bda5f17d3b31dfcd (patch) | |
| tree | ee5505d7e0357c6a7b540c120bd685016dba3395 /tools/perf/scripts/python | |
| parent | 3312e6c887fe7539f0adb5756ab9020282aaa3d4 (diff) | |
md/raid5: Refactor add_stripe_bio()
Factor out two helper functions from add_stripe_bio(): one to check for
overlap (stripe_bio_overlaps()), and one to actually add the bio to the
stripe (__add_stripe_bio()). The latter function will always succeed.
This will be useful in the next patch so that overlap can be checked for
multiple disks before adding any
Signed-off-by: Logan Gunthorpe <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions