]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
md/raid5: add handle_flags arg to break_stripe_batch_list.
authorNeilBrown <neilb@suse.de>
Thu, 21 May 2015 02:20:36 +0000 (12:20 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 May 2015 01:39:30 +0000 (11:39 +1000)
commit3960ce796198254b7a1b420dc9a26d80928523bd
tree7b82e757c74b17eb638cff9723b2a6ae68e831b7
parentfb642b92c267beeefd352af9bc461eac93a7552c
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>
drivers/md/raid5.c