diff options
| author | Logan Gunthorpe <[email protected]> | 2022-06-16 13:19:34 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-08-02 17:14:40 -0600 |
| commit | 8757fef675d8c34f8b2e2d8322385d5a6b403210 (patch) | |
| tree | 9953ac9b9c091abd2837d8133eb8f706bba7bfc5 /scripts/stackusage | |
| parent | 27fb701046c39879411ff064fb2c9ca8d02d89df (diff) | |
md/raid5: Move stripe_add_to_batch_list() call out of add_stripe_bio()
stripe_add_to_batch_list() is better done in the loop in make_request
instead of inside add_stripe_bio(). This is clearer and allows for
storing the batch_head state outside the loop in a subsequent patch.
The call to add_stripe_bio() in retry_aligned_read() is for read
and batching only applies to write. So it's impossible for batching
to happen at that call site.
No functional changes intended.
Signed-off-by: Logan Gunthorpe <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Guoqing Jiang <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions