]> Pileus Git - ~andy/linux/commit
pnfs-obj: move to ore 02: move to ORE
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 31 Oct 2011 22:15:38 +0000 (15:15 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 3 Nov 2011 03:56:08 +0000 (23:56 -0400)
commiteecfc6312a24e6d0d2883de0a9a6ccf8e993f472
tree83b7b6d8895a007e698e59f065924527e8870d90
parentaf4f5b54bcf0379089d01518e818f37258708fb7
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>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/exofs/Kconfig
fs/nfs/objlayout/objio_osd.c