mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
md/raid5: need_this_block: start simplifying the last two conditions.
Both the last two cases are only relevant if something has failed and something needs to be written (but not over-written), and if it is OK to pre-read blocks at this point. So factor out those tests and explain them. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
a79cfe12c6
commit
a9d56950f7
1 changed files with 23 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue