diff options
| author | Logan Gunthorpe <[email protected]> | 2022-06-16 13:19:37 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-08-02 17:14:42 -0600 |
| commit | 1cdb5b417092614851a17e14eefc42e0ed7ebd1b (patch) | |
| tree | b1846eb368e24b145f752ac4ce1c4b00322081ca /scripts/stackusage | |
| parent | f4aec6a0973879cb25bfecc2e918c519e3dfff04 (diff) | |
md/raid5: Drop the do_prepare flag in raid5_make_request()
prepare_to_wait() can be reasonably called after schedule instead of
setting a flag and preparing in the next loop iteration.
This means that prepare_to_wait() will be called before
read_seqcount_begin(), but there shouldn't be any reason that the order
matters here. On the first iteration of the loop prepare_to_wait() is
already called first.
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