commit | 3960ce796198254b7a1b420dc9a26d80928523bd | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu May 21 12:20:36 2015 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu May 28 11:39:30 2015 +1000 |
tree | 7b82e757c74b17eb638cff9723b2a6ae68e831b7 | |
parent | fb642b92c267beeefd352af9bc461eac93a7552c [diff] |
md/raid5: add handle_flags arg to break_stripe_batch_list. When we break a stripe_batch_list we sometimes want to set STRIPE_HANDLE on the individual stripes, and sometimes not. So pass a 'handle_flags' arg. If it is zero, always set STRIPE_HANDLE (on non-head stripes). If not zero, only set it if any of the given flags are present. Signed-off-by: NeilBrown <neilb@suse.de>