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)
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

Simple merge