diff options
| author | Logan Gunthorpe <logang@deltatee.com> | 2022-06-16 13:19:41 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:14:42 -0600 |
| commit | 4ad1d9849ffa8738b5e9b3f8bda5f17d3b31dfcd (patch) | |
| tree | ee5505d7e0357c6a7b540c120bd685016dba3395 /include/linux/securebits.h | |
| 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 <logang@deltatee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/securebits.h')
0 files changed, 0 insertions, 0 deletions
