X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fmd%2Fraid5.h;h=828c2925e68f337d028a4f1602386fea4babfb01;hb=d618bf2bfd2a095644c852ebea16f5a981f9d875;hp=d05144278690ca9b8cb4ad933d6d23dc36b9b0f8;hpb=102178108e2246cb4b329d3fb7872cd3d7120205;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index d05144278690..828c2925e68f 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -265,7 +265,7 @@ struct stripe_head_state { int dec_preread_active; unsigned long ops_request; - struct bio *return_bi; + struct bio_list return_bi; struct md_rdev *blocked_rdev; int handle_bad_blocks; }; @@ -476,6 +476,9 @@ struct r5conf { int skip_copy; /* Don't copy data from bio to stripe cache */ struct list_head *last_hold; /* detect hold_list promotions */ + /* bios to have bi_end_io called after metadata is synced */ + struct bio_list return_bi; + atomic_t reshape_stripes; /* stripes with pending writes for reshape */ /* unfortunately we need two cache names as we temporarily have * two caches.