From: "John L. Hammond"
If CONFIG_PROC_FS=n then obd_memory is not defined. So put the setup
and cleanup of this variable within #ifdef CONFIG_PROC_FS guards.
Signed-off-by: John L. Hammond
---
.../staging/lustre/lustre/include/obd_support.h|2 ++
drivers/staging/lus
From: John L. Hammond john.hamm...@intel.com
If CONFIG_PROC_FS=n then obd_memory is not defined. So put the setup
and cleanup of this variable within #ifdef CONFIG_PROC_FS guards.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../staging/lustre/lustre/include/obd_support.h|2
,
cfs_wait_event_interruptible/_exclusive etc.
Signed-off-by: Liu Xuezhao
Signed-off-by: Peng Tao
Signed-off-by: James Simmons
Signed-off-by: John L. Hammond
Reviewed-on: http://review.whamcloud.com/4778
Reviewed-by: Andreas Dilger
Reviewed-by: Keith Mannthey
---
.../lustre/include/linux/libcfs/libcfs_fail.h
From: "John L. Hammond"
The definitions in lustre/include/linux/lvfs_linux.h are not used so
remove that header.
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/lustre/include/linux/lvfs.h |4 +-
.../lustre/lustre/include/linux/lvfs_linux.h | 59 -
From: "John L. Hammond"
Expand the two uses of ll_inode_blksize() and remove the then
unnecessary header lustre/include/linux/lustre_common.h.
Signed-off-by: John L. Hammond
Reviewed-on: http://review.whamcloud.com/11495
Reviewed-by: Bob Glossman
Reviewed-by: Dmitry Eremin
Reviewe
From: "John L. Hammond"
The upcall cache is unused so remove include/linux/libcfs/lucache.h
and lustre/libcfs/upcall_cache.c.
Signed-off-by: John L. Hammond
---
.../staging/lustre/include/linux/libcfs/lucache.h | 162 ---
drivers/staging/lustre/lustre/include/lvfs.h
From: "John L. Hammond"
Move the definition of struct lvfs_run_ctxt to the one file that
needed it (lustre/include/obd.h). Remove the then unneeded headers
lustre/include/lvfs.h and lustre/include/linux/lvfs.h.
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/lust
From: James Simmons
The lvfs layer is obsolete and unused by Lustre clients. So remove it
and integrate the last of the procfs code into the obdclass layer.
Signed-off-by: James Simmons
Signed-off-by: Mikhail Pershin
Signed-off-by: John L. Hammond
Reviewed-on: http://review.whamcloud.com
From: "John L. Hammond"
Remove the unused "lvfs" functions obd_lvfs_fid2dentry(),
ll_lookup_one_len(), l_dput(), lustre_rename(), push_ctxt(), and
pop_ctxt(). Remove the unused members of struct lvfs_run_ctxt.
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/
From: "John L. Hammond"
Howdy,
This series removes the lvfs module, its headers, the headers that it
headers included but were not needed, and some adjacent compatability
code.
James Simmons (2):
staging/lustre/lvfs: remove the lvfs layer
staging/lustre: remove portals_compat25
From: John L. Hammond john.hamm...@intel.com
Howdy,
This series removes the lvfs module, its headers, the headers that it
headers included but were not needed, and some adjacent compatability
code.
James Simmons (2):
staging/lustre/lvfs: remove the lvfs layer
staging/lustre: remove
From: John L. Hammond john.hamm...@intel.com
Remove the unused lvfs functions obd_lvfs_fid2dentry(),
ll_lookup_one_len(), l_dput(), lustre_rename(), push_ctxt(), and
pop_ctxt(). Remove the unused members of struct lvfs_run_ctxt.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
drivers
-by: John L. Hammond john.hamm...@intel.com
Reviewed-on: http://review.whamcloud.com/5512
Reviewed-by: Jian Yu jian...@intel.com
Reviewed-by: Bob Glossman bob.gloss...@intel.com
Reviewed-by: Oleg Drokin oleg.dro...@intel.com
---
drivers/staging/lustre/lustre/Makefile |2 +-
.../lustre
From: John L. Hammond john.hamm...@intel.com
The upcall cache is unused so remove include/linux/libcfs/lucache.h
and lustre/libcfs/upcall_cache.c.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../staging/lustre/include/linux/libcfs/lucache.h | 162 ---
drivers/staging/lustre
From: John L. Hammond john.hamm...@intel.com
Move the definition of struct lvfs_run_ctxt to the one file that
needed it (lustre/include/obd.h). Remove the then unneeded headers
lustre/include/lvfs.h and lustre/include/linux/lvfs.h.
Signed-off-by: John L. Hammond john.hamm...@intel.com
From: John L. Hammond john.hamm...@intel.com
Expand the two uses of ll_inode_blksize() and remove the then
unnecessary header lustre/include/linux/lustre_common.h.
Signed-off-by: John L. Hammond john.hamm...@intel.com
Reviewed-on: http://review.whamcloud.com/11495
Reviewed-by: Bob Glossman
From: John L. Hammond john.hamm...@intel.com
The definitions in lustre/include/linux/lvfs_linux.h are not used so
remove that header.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
drivers/staging/lustre/lustre/include/linux/lvfs.h |4 +-
.../lustre/lustre/include/linux
,
cfs_wait_event_interruptible/_exclusive etc.
Signed-off-by: Liu Xuezhao xuezhao@emc.com
Signed-off-by: Peng Tao tao.p...@emc.com
Signed-off-by: James Simmons uja.o...@gmail.com
Signed-off-by: John L. Hammond john.hamm...@intel.com
Reviewed-on: http://review.whamcloud.com/4778
Reviewed
From: "John L. Hammond"
In mdc_setup() and mdc_precleanup() call mdc_llog_init() and
mdc_llog_finish() directly rather than through the OBD method wrappers
obd_llog_init() and obd_llod_finish(). Simplify the prototypes of
mdc_llog_init() and mdc_llog_finish() according to their uses.
From: "John L. Hammond"
Remove the unused function llog_ioctl() and the file
lustre/obdclass/llog_ioctl.c.
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/lustre/include/lustre_log.h |4 -
drivers/staging/lustre/lustre/obdclass/Makefile|2 +-
.../staging/lus
From: "John L. Hammond"
Remove the unused function sptlrpc_conf_target_get_rules() and its
supporting functions.
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/lustre/include/lustre_sec.h |3 -
drivers/staging/lustre/lustre/ptlrpc/sec_config.c | 327 -
From: "John L. Hammond"
Remove the unused files lustre/obdclass/local_storage.[ch].
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/lustre/obdclass/Makefile|2 +-
.../staging/lustre/lustre/obdclass/local_storage.c | 894
.../staging/lus
From: "John L. Hammond"
In osc_request.c there is no reason to handle any llog contexts since
they are never setup. Remove the functions unused function
osc_llog_init() and the obsolete function osc_llog_finish(). Remove
the llog cleanup code in osc_disconnect() and osc_precleanup().
From: "John L. Hammond"
Remove the unused OBD device methods mdc_pin() and mdc_unpin().
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/lustre/mdc/mdc_request.c | 90 ---
1 file changed, 90 deletions(-)
diff --git a/drivers/staging/lustre/
From: "John L. Hammond"
The function mgc_cancel() is never invoked as an OBD device method and
is only called directly from mgc_process_log() so remove it.
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/lustre/mgc/mgc_request.c | 17 ++---
1 file changed, 2
From: "John L. Hammond"
In mgc_process_cfg_log() remove code to handle
LLOG_CONFIG_ORIG_CTXT. This context is not setup on clients.
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/lustre/mgc/mgc_request.c | 84 ++-
1 file changed, 4 insertions(+), 80
From: "John L. Hammond"
Remove the unused OBD device methods:
obd_brw()
obd_cancel()
obd_cancel_unused()
obd_change_cbdata()
obd_create_async()
obd_enqueue()
obd_enqueue_rqset()
obd_extent_calc()
obd_llog_connect()
obd_llog_finish()
obd
From: "John L. Hammond"
Remove the unused OBD device methods:
lov_brw()
lov_cancel()
lov_cancel_unused()
lov_change_cbdata()
lov_enqueue()
lov_extent_calc()
lov_getattr()
lov_merge_lvb()
lov_punch()
lov_setattr()
lov_sync()
and their
From: "John L. Hammond"
Move the structures defined in lustre/include/obd_ost.h to the one
file that uses them (lustre/osc/osc_request.c). Remove the unused
function osc_update_enqueue(). Remove the then empty header
lustre/include/obd_ost.h.
Signed-off-by: John L. Hammond
---
.
From: "John L. Hammond"
Remove the unused OBD device methods:
osc_brw()
osc_cancel()
osc_cancel_unused()
osc_change_cbdata()
osc_enqueue()
osc_punch()
osc_sync()
and their supporting functions.
Signed-off-by: John L. Hammond
---
drivers/staging/lustre/
From: "John L. Hammond"
Howdy,
This series yet removes more dead and obsolete code from drivers/staging/lustre
in the form of methods from struct obd_ops and server specific llog handling.
John L. Hammond (12):
staging/lustre/lov: remove unused OBD methods
staging/lustre/osc: rem
From: John L. Hammond john.hamm...@intel.com
Howdy,
This series yet removes more dead and obsolete code from drivers/staging/lustre
in the form of methods from struct obd_ops and server specific llog handling.
John L. Hammond (12):
staging/lustre/lov: remove unused OBD methods
staging
From: John L. Hammond john.hamm...@intel.com
Move the structures defined in lustre/include/obd_ost.h to the one
file that uses them (lustre/osc/osc_request.c). Remove the unused
function osc_update_enqueue(). Remove the then empty header
lustre/include/obd_ost.h.
Signed-off-by: John L. Hammond
From: John L. Hammond john.hamm...@intel.com
Remove the unused OBD device methods:
osc_brw()
osc_cancel()
osc_cancel_unused()
osc_change_cbdata()
osc_enqueue()
osc_punch()
osc_sync()
and their supporting functions.
Signed-off-by: John L. Hammond john.hamm...@intel.com
From: John L. Hammond john.hamm...@intel.com
Remove the unused OBD device methods:
lov_brw()
lov_cancel()
lov_cancel_unused()
lov_change_cbdata()
lov_enqueue()
lov_extent_calc()
lov_getattr()
lov_merge_lvb()
lov_punch()
lov_setattr()
lov_sync
From: John L. Hammond john.hamm...@intel.com
The function mgc_cancel() is never invoked as an OBD device method and
is only called directly from mgc_process_log() so remove it.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
drivers/staging/lustre/lustre/mgc/mgc_request.c | 17
From: John L. Hammond john.hamm...@intel.com
In mgc_process_cfg_log() remove code to handle
LLOG_CONFIG_ORIG_CTXT. This context is not setup on clients.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
drivers/staging/lustre/lustre/mgc/mgc_request.c | 84 ++-
1
From: John L. Hammond john.hamm...@intel.com
Remove the unused OBD device methods:
obd_brw()
obd_cancel()
obd_cancel_unused()
obd_change_cbdata()
obd_create_async()
obd_enqueue()
obd_enqueue_rqset()
obd_extent_calc()
obd_llog_connect()
obd_llog_finish
From: John L. Hammond john.hamm...@intel.com
In osc_request.c there is no reason to handle any llog contexts since
they are never setup. Remove the functions unused function
osc_llog_init() and the obsolete function osc_llog_finish(). Remove
the llog cleanup code in osc_disconnect
From: John L. Hammond john.hamm...@intel.com
Remove the unused OBD device methods mdc_pin() and mdc_unpin().
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
drivers/staging/lustre/lustre/mdc/mdc_request.c | 90 ---
1 file changed, 90 deletions(-)
diff --git
From: John L. Hammond john.hamm...@intel.com
Remove the unused files lustre/obdclass/local_storage.[ch].
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
drivers/staging/lustre/lustre/obdclass/Makefile|2 +-
.../staging/lustre/lustre/obdclass/local_storage.c | 894
From: John L. Hammond john.hamm...@intel.com
Remove the unused function llog_ioctl() and the file
lustre/obdclass/llog_ioctl.c.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
drivers/staging/lustre/lustre/include/lustre_log.h |4 -
drivers/staging/lustre/lustre/obdclass/Makefile
From: John L. Hammond john.hamm...@intel.com
Remove the unused function sptlrpc_conf_target_get_rules() and its
supporting functions.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
drivers/staging/lustre/lustre/include/lustre_sec.h |3 -
drivers/staging/lustre/lustre/ptlrpc
From: John L. Hammond john.hamm...@intel.com
In mdc_setup() and mdc_precleanup() call mdc_llog_init() and
mdc_llog_finish() directly rather than through the OBD method wrappers
obd_llog_init() and obd_llod_finish(). Simplify the prototypes of
mdc_llog_init() and mdc_llog_finish() according
From: "John L. Hammond"
Remove lustre/include/linux/lprocfs_status.h. Include linux/statfs.h
where needed.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lprocfs_status.h | 57
.../staging/lustre/lustre/include/lprocfs_status.h |6 ++
From: "John L. Hammond"
Remove the superfluous header lustre/include/linux/lustre_dlm.h.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lustre_dlm.h | 46
drivers/staging/lustre/lustre/include/lustre_dlm.h |2 -
2 files c
From: "John L. Hammond"
Move the contents of lustre/include/linux/lustre_acl.h to
lustre/include/lustre_acl.h and remove the first header.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lustre_acl.h | 66
drivers/staging/lustre/lust
From: "John L. Hammond"
Move lustre/include/linux/lustre_intent.h to lustre/include.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lustre_intent.h| 62
drivers/staging/lustre/lustre/include/linux/obd.h |2 +-
.../staging/lus
From: "John L. Hammond"
Remove the superfluous header lustre/include/linux/obd_support.h.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/obd_support.h | 63
.../staging/lustre/lustre/include/obd_support.h|2 +-
2 files
From: "John L. Hammond"
Remove the superfluous header lustre/include/linux/lustre_net.h.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lustre_net.h | 49
drivers/staging/lustre/lustre/include/lustre_net.h |2 -
drivers/stag
From: "John L. Hammond"
Remove lustre/include/linux/lustre_acl.h and kill the cfs_rcu_head_t
typedef.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lustre_handles.h | 52
.../staging/lustre/lustre/include/lustre_handles.h | 10 ++--
From: "John L. Hammond"
Kill the macro ll_inode_flags() and remove the superfluous header
lustre/include/linux/obd_class.h.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/obd_class.h| 58
drivers/staging/lustre/lustre/include/o
From: "John L. Hammond"
Remove the superfluous header lustre/include/linux/lustre_quota.h.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lustre_quota.h | 46
.../staging/lustre/lustre/include/lustre_quota.h |4 +-
2 files
From: "John L. Hammond"
Remove the superfluous header lustre/include/linux/lustre_log.h.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lustre_log.h | 57
drivers/staging/lustre/lustre/include/lustre_log.h |2 -
2 files c
From: "John L. Hammond"
Inline the only call to inode_init_lvb(). Move some definitions from
lustre/include/linux/lustre_lib.h to lustre/include/lustre_lib.h and
remove the first header.
Signed-off-by: John L. Hammond
---
.../lustre/lustre/include/linux/lustre_lib.h
This series removes several headers from lustre/include/linux by
taking whatever was worthwhile from linux/lustre_barf.h and moving it
to lustre_barf.h or to wherever it's needed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
This series removes several headers from lustre/include/linux by
taking whatever was worthwhile from linux/lustre_barf.h and moving it
to lustre_barf.h or to wherever it's needed.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to
From: John L. Hammond john.hamm...@intel.com
Remove the superfluous header lustre/include/linux/lustre_log.h.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/lustre_log.h | 57
drivers/staging/lustre/lustre/include
From: John L. Hammond john.hamm...@intel.com
Inline the only call to inode_init_lvb(). Move some definitions from
lustre/include/linux/lustre_lib.h to lustre/include/lustre_lib.h and
remove the first header.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include
From: John L. Hammond john.hamm...@intel.com
Remove lustre/include/linux/lustre_acl.h and kill the cfs_rcu_head_t
typedef.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/lustre_handles.h | 52
.../staging/lustre/lustre/include
From: John L. Hammond john.hamm...@intel.com
Kill the macro ll_inode_flags() and remove the superfluous header
lustre/include/linux/obd_class.h.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/obd_class.h| 58
drivers
From: John L. Hammond john.hamm...@intel.com
Remove the superfluous header lustre/include/linux/lustre_quota.h.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/lustre_quota.h | 46
.../staging/lustre/lustre/include
From: John L. Hammond john.hamm...@intel.com
Remove the superfluous header lustre/include/linux/lustre_net.h.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/lustre_net.h | 49
drivers/staging/lustre/lustre/include
From: John L. Hammond john.hamm...@intel.com
Remove the superfluous header lustre/include/linux/obd_support.h.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/obd_support.h | 63
.../staging/lustre/lustre/include
From: John L. Hammond john.hamm...@intel.com
Move lustre/include/linux/lustre_intent.h to lustre/include.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/lustre_intent.h| 62
drivers/staging/lustre/lustre/include/linux/obd.h
From: John L. Hammond john.hamm...@intel.com
Move the contents of lustre/include/linux/lustre_acl.h to
lustre/include/lustre_acl.h and remove the first header.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/lustre_acl.h | 66
From: John L. Hammond john.hamm...@intel.com
Remove lustre/include/linux/lprocfs_status.h. Include linux/statfs.h
where needed.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/lprocfs_status.h | 57
.../staging/lustre/lustre
From: John L. Hammond john.hamm...@intel.com
Remove the superfluous header lustre/include/linux/lustre_dlm.h.
Signed-off-by: John L. Hammond john.hamm...@intel.com
---
.../lustre/lustre/include/linux/lustre_dlm.h | 46
drivers/staging/lustre/lustre/include
68 matches
Mail list logo