commit | a9d56950f763fa3e9d831541e62d223197d2ff60 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Feb 02 11:49:10 2015 +1100 |
committer | NeilBrown <neilb@suse.de> | Wed Feb 04 08:35:51 2015 +1100 |
tree | 10e6bf867b7a1c9faf93e6d801610a3a4be8fbae | |
parent | a79cfe12c619aa0fc401f9148d78faa6fc61a331 [diff] |
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>