From: NeilBrown Date: Thu, 22 Dec 2011 23:17:52 +0000 (+1100) Subject: md/raid5: remove redundant bio initialisations. X-Git-Tag: v3.3-rc1~164^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=995c4275a7e14b8752f301e4570831a108ae4303;p=pandora-kernel.git md/raid5: remove redundant bio initialisations. We current initialise some fields of a bio when preparing a stripe_head, and again just before submitting the request. Remove the duplication by only setting the fields that lower level devices don't touch in raid5_build_block, and only set the changeable fields in ops_run_io. Reviewed-by: Dan Williams Signed-off-by: NeilBrown --- Reading git-diff-tree failed