raid5:Move comment to func handle_stripe.
PATCH 3/3 raid5:Move comment to func handle_stripe.
Signed-off-by Jianpeng Ma <[email protected]>
--- drivers/md/raid5.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
drivers/md/raid5.c +13 -13
@@ -3177,19 +3177,6 @@ static void handle_stripe_expansion(struct r5conf *conf, struct stripe_head *sh) } } -/* -* handle_stripe - do things to a stripe. -* -* We lock the stripe by setting STRIPE_ACTIVE and then examine the -* state of various bits to see what needs to be done. -* Possible results: -* return some read requests which now have data -* return some write requests which are safely on storage -* schedule a read on some buffers -* schedule a write of some buffers -* return confirmation of parity correctness -* -*/ static void analyse_stripe (struct stripe_head *sh,struct stripe_head_state *s) {
@@ -3372,6 +3359,19 @@ static void analyse_stripe(struct stripe_head *sh, struct stripe_head_state *s)rcu_read_unlock (); } +/* +* handle_stripe - do things to a stripe. +* +* We lock the stripe by setting STRIPE_ACTIVE and then examine the +* state of various bits to see what needs to be done. +* Possible results: +* return some read requests which now have data +* return some write requests which are safely on storage +* schedule a read on some buffers +* schedule a write of some buffers +* return confirmation of parity correctness +* +*/ static void handle_stripe (struct stripe_head *sh) {struct stripe_head_state s;
Signature · 1 line
1.7.9.5