]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
raid5-cache: take rdev->data_offset into account early on
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Oct 2015 07:31:12 +0000 (09:31 +0200)
committerNeilBrown <neilb@suse.com>
Sun, 1 Nov 2015 02:48:28 +0000 (13:48 +1100)
commit1e932a37ccb9ad1984823dead4b48902fc5789f4
tree519364838307c95871f0e6d983adcc123d709a06
parentb349feb36cc2b7ed41a5222a0b681153f3525369
raid5-cache: take rdev->data_offset into account early on

Set up bi_sector properly when we allocate an bio instead of updating it
at submission time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/raid5-cache.c