forked from luck/tmp_suning_uos_patched
eecfc6312a
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>
25 lines
743 B
Plaintext
25 lines
743 B
Plaintext
# Note ORE needs to "select ASYNC_XOR". So Not to force multiple selects
|
|
# for every ORE user we do it like this. Any user should add itself here
|
|
# at the "depends on EXOFS_FS || ..." with an ||. The dependencies are
|
|
# selected here, and we default to "ON". So in effect it is like been
|
|
# selected by any of the users.
|
|
config ORE
|
|
tristate
|
|
depends on EXOFS_FS || PNFS_OBJLAYOUT
|
|
select ASYNC_XOR
|
|
default SCSI_OSD_ULD
|
|
|
|
config EXOFS_FS
|
|
tristate "exofs: OSD based file system support"
|
|
depends on SCSI_OSD_ULD
|
|
help
|
|
EXOFS is a file system that uses an OSD storage device,
|
|
as its backing storage.
|
|
|
|
# Debugging-related stuff
|
|
config EXOFS_DEBUG
|
|
bool "Enable debugging"
|
|
depends on EXOFS_FS
|
|
help
|
|
This option enables EXOFS debug prints.
|