]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ore: cleanup: Embed an ore_striping_info inside ore_io_state
authorBoaz Harrosh <bharrosh@panasas.com>
Sun, 2 Oct 2011 13:32:50 +0000 (15:32 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Tue, 4 Oct 2011 10:17:10 +0000 (12:17 +0200)
commita723afe057559892b7f2abcbeb36ea15cd4a8a54
treefc10fb5b23ef55ec1b50b6758b9af716a78d316c
parent6d522748d99cc8bc580bb5e82761fa6879100aaa
ore: cleanup: Embed an ore_striping_info inside ore_io_state

Now that each ore_io_state covers only a single raid group.
A single striping_info math is needed. Embed one inside
ore_io_state to cache the calculation results and eliminate
an extra call.

Also the outer _prepare_for_striping is removed since it does nothing.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/ore.c
include/scsi/osd_ore.h