diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2011-10-31 18:15:38 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-11-02 23:56:08 -0400 |
commit | eecfc6312a24e6d0d2883de0a9a6ccf8e993f472 (patch) | |
tree | 83b7b6d8895a007e698e59f065924527e8870d90 /fs/exofs | |
parent | af4f5b54bcf0379089d01518e818f37258708fb7 (diff) |
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>
Diffstat (limited to 'fs/exofs')
-rw-r--r-- | fs/exofs/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/Kconfig b/fs/exofs/Kconfig index fa9a286c8771..da42f32c49be 100644 --- a/fs/exofs/Kconfig +++ b/fs/exofs/Kconfig | |||
@@ -5,7 +5,7 @@ | |||
5 | # selected by any of the users. | 5 | # selected by any of the users. |
6 | config ORE | 6 | config ORE |
7 | tristate | 7 | tristate |
8 | depends on EXOFS_FS | 8 | depends on EXOFS_FS || PNFS_OBJLAYOUT |
9 | select ASYNC_XOR | 9 | select ASYNC_XOR |
10 | default SCSI_OSD_ULD | 10 | default SCSI_OSD_ULD |
11 | 11 | ||