]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pnfs-obj: move to ore 02: move to ORE
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 3 Oct 2011 18:26:05 +0000 (20:26 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Fri, 28 Oct 2011 18:53:02 +0000 (11:53 -0700)
commitb0f3d5f82fd8acefc0f2659cf1bb931942500db5
tree2f81d175068574fd87bc24af6ffd4cabc4665bb2
parent79ca7af7ec31cbf83a86e61c80ca0e24215244bf
pnfs-obj: move to ore 02: move to ORE

In this patch we are actually moving to the ORE.
(Object Raid Engine).

objio_state holds a pointer to an ore_io_state. Once
we have an ore_io_state at hand we can call the ore
for reading/writing. We register on the done path
to kick off the nfs io_done mechanism.

Again for Ease of reviewing the old code is "#if 0"
but is not removed so the diff command works better.
The old code will be removed in the next patch.

fs/exofs/Kconfig::ORE is modified to also be auto-included
if PNFS_OBJLAYOUT is set. Since we now depend on ORE.
(See comments in fs/exofs/Kconfig)

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/Kconfig
fs/nfs/objlayout/objio_osd.c