]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
md: replace STRIPE_OP_BIOFILL with STRIPE_BIOFILL_RUN
authorDan Williams <dan.j.williams@intel.com>
Fri, 27 Jun 2008 22:31:58 +0000 (08:31 +1000)
committerNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:58 +0000 (08:31 +1000)
commit83de75cc92be599850e5ef3928e07cd840833499
tree19995f66767debc27bf207ad1ec73280c31ca8fc
parentecc65c9b3f9b9d740a5deade3d85b39be56401b6
md: replace STRIPE_OP_BIOFILL with STRIPE_BIOFILL_RUN

From: Dan Williams <dan.j.williams@intel.com>

Track the state of read operations (copying data from the stripe cache to bio
buffers outside the lock) with a state flag.  Reduce the scope of the
STRIPE_OP_BIOFILL flag to only tracking whether a biofill operation has been
requested via the ops_request field of struct stripe_head_state.

This is another step towards the removal of ops.{pending,ack,complete,count},
i.e. STRIPE_OP_BIOFILL only requests an operation and does not track the state
of the operation.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Neil Brown <neilb@suse.de>
drivers/md/raid5.c