Skip to content

Commit

Permalink
md: replace STRIPE_OP_{BIODRAIN,PREXOR,POSTXOR} with 'reconstruct_sta…
Browse files Browse the repository at this point in the history
…tes'

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

Track the state of reconstruct operations (recalculating the parity block
usually due to incoming writes, or as part of array expansion)  Reduces the
scope of the STRIPE_OP_{BIODRAIN,PREXOR,POSTXOR} flags to only tracking whether
a reconstruct operation has been requested via the ops_request field of struct
stripe_head_state.

This is the final step in the removal of ops.{pending,ack,complete,count}, i.e.
the STRIPE_OP_{BIODRAIN,PREXOR,POSTXOR} flags only request an operation and do
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>
  • Loading branch information
Dan Williams authored and Neil Brown committed Jun 27, 2008
1 parent 976ea8d commit 600aa10
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 150 deletions.
Loading

0 comments on commit 600aa10

Please sign in to comment.