mirror of https://gitee.com/openkylin/linux.git
staging/lustre: remove dt_object implementation
Nothing uses dt_object now, so we can kill the implementation and the stale references. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8c85bd76d3
commit
9184bd51c9
|
@ -47,7 +47,6 @@
|
||||||
|
|
||||||
#include "../include/obd.h"
|
#include "../include/obd.h"
|
||||||
#include "../include/obd_class.h"
|
#include "../include/obd_class.h"
|
||||||
#include "../include/dt_object.h"
|
|
||||||
#include "../include/obd_support.h"
|
#include "../include/obd_support.h"
|
||||||
#include "../include/lustre_req_layout.h"
|
#include "../include/lustre_req_layout.h"
|
||||||
#include "../include/lustre_fid.h"
|
#include "../include/lustre_fid.h"
|
||||||
|
|
|
@ -53,7 +53,6 @@
|
||||||
#include "../include/obd_support.h"
|
#include "../include/obd_support.h"
|
||||||
#include "../include/lprocfs_status.h"
|
#include "../include/lprocfs_status.h"
|
||||||
|
|
||||||
#include "../include/dt_object.h"
|
|
||||||
#include "../include/lustre_req_layout.h"
|
#include "../include/lustre_req_layout.h"
|
||||||
#include "../include/lustre_fld.h"
|
#include "../include/lustre_fld.h"
|
||||||
#include "fld_internal.h"
|
#include "fld_internal.h"
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
#define __FLD_INTERNAL_H
|
#define __FLD_INTERNAL_H
|
||||||
|
|
||||||
#include "../include/lustre/lustre_idl.h"
|
#include "../include/lustre/lustre_idl.h"
|
||||||
#include "../include/dt_object.h"
|
|
||||||
|
|
||||||
#include "../../include/linux/libcfs/libcfs.h"
|
#include "../../include/linux/libcfs/libcfs.h"
|
||||||
#include "../include/lustre_req_layout.h"
|
#include "../include/lustre_req_layout.h"
|
||||||
|
@ -175,8 +174,6 @@ void fld_dump_cache_entries(struct fld_cache *cache);
|
||||||
struct fld_cache_entry
|
struct fld_cache_entry
|
||||||
*fld_cache_entry_lookup_nolock(struct fld_cache *cache,
|
*fld_cache_entry_lookup_nolock(struct fld_cache *cache,
|
||||||
struct lu_seq_range *range);
|
struct lu_seq_range *range);
|
||||||
int fld_write_range(const struct lu_env *env, struct dt_object *dt,
|
|
||||||
const struct lu_seq_range *range, struct thandle *th);
|
|
||||||
|
|
||||||
static inline const char *
|
static inline const char *
|
||||||
fld_target_name(struct lu_fld_target *tar)
|
fld_target_name(struct lu_fld_target *tar)
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
#include "../include/obd_support.h"
|
#include "../include/obd_support.h"
|
||||||
#include "../include/lprocfs_status.h"
|
#include "../include/lprocfs_status.h"
|
||||||
|
|
||||||
#include "../include/dt_object.h"
|
|
||||||
#include "../include/lustre_req_layout.h"
|
#include "../include/lustre_req_layout.h"
|
||||||
#include "../include/lustre_fld.h"
|
#include "../include/lustre_fld.h"
|
||||||
#include "../include/lustre_mdc.h"
|
#include "../include/lustre_mdc.h"
|
||||||
|
|
|
@ -48,7 +48,6 @@
|
||||||
|
|
||||||
#include "../include/obd.h"
|
#include "../include/obd.h"
|
||||||
#include "../include/obd_class.h"
|
#include "../include/obd_class.h"
|
||||||
#include "../include/dt_object.h"
|
|
||||||
#include "../include/obd_support.h"
|
#include "../include/obd_support.h"
|
||||||
#include "../include/lustre_req_layout.h"
|
#include "../include/lustre_req_layout.h"
|
||||||
#include "../include/lustre_fld.h"
|
#include "../include/lustre_fld.h"
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -389,9 +389,6 @@ struct lu_server_seq {
|
||||||
*/
|
*/
|
||||||
struct dt_device *lss_dev;
|
struct dt_device *lss_dev;
|
||||||
|
|
||||||
/* /seq file object device */
|
|
||||||
struct dt_object *lss_obj;
|
|
||||||
|
|
||||||
/* LUSTRE_SEQ_SERVER or LUSTRE_SEQ_CONTROLLER */
|
/* LUSTRE_SEQ_SERVER or LUSTRE_SEQ_CONTROLLER */
|
||||||
enum lu_mgr_type lss_type;
|
enum lu_mgr_type lss_type;
|
||||||
|
|
||||||
|
|
|
@ -70,10 +70,6 @@ struct lu_fld_target {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct lu_server_fld {
|
struct lu_server_fld {
|
||||||
/**
|
|
||||||
* /fld file object device */
|
|
||||||
struct dt_object *lsf_obj;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* super sequence controller export, needed to forward fld
|
* super sequence controller export, needed to forward fld
|
||||||
* lookup request. */
|
* lookup request. */
|
||||||
|
|
|
@ -336,9 +336,6 @@ struct client_obd {
|
||||||
struct mdc_rpc_lock *cl_close_lock;
|
struct mdc_rpc_lock *cl_close_lock;
|
||||||
|
|
||||||
/* mgc datastruct */
|
/* mgc datastruct */
|
||||||
struct mutex cl_mgc_mutex;
|
|
||||||
struct local_oid_storage *cl_mgc_los;
|
|
||||||
struct dt_object *cl_mgc_configs_dir;
|
|
||||||
atomic_t cl_mgc_refcount;
|
atomic_t cl_mgc_refcount;
|
||||||
struct obd_export *cl_mgc_mgsexp;
|
struct obd_export *cl_mgc_mgsexp;
|
||||||
|
|
||||||
|
|
|
@ -335,7 +335,6 @@ int client_obd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg)
|
||||||
}
|
}
|
||||||
|
|
||||||
init_rwsem(&cli->cl_sem);
|
init_rwsem(&cli->cl_sem);
|
||||||
mutex_init(&cli->cl_mgc_mutex);
|
|
||||||
cli->cl_conn_count = 0;
|
cli->cl_conn_count = 0;
|
||||||
memcpy(server_uuid.uuid, lustre_cfg_buf(lcfg, 2),
|
memcpy(server_uuid.uuid, lustre_cfg_buf(lcfg, 2),
|
||||||
min_t(unsigned int, LUSTRE_CFG_BUFLEN(lcfg, 2),
|
min_t(unsigned int, LUSTRE_CFG_BUFLEN(lcfg, 2),
|
||||||
|
|
|
@ -5,5 +5,5 @@ obdclass-y := linux/linux-module.o linux/linux-obdo.o linux/linux-sysctl.o \
|
||||||
genops.o uuid.o lprocfs_status.o \
|
genops.o uuid.o lprocfs_status.o \
|
||||||
lustre_handles.o lustre_peer.o \
|
lustre_handles.o lustre_peer.o \
|
||||||
statfs_pack.o obdo.o obd_config.o obd_mount.o \
|
statfs_pack.o obdo.o obd_config.o obd_mount.o \
|
||||||
lu_object.o dt_object.o capa.o cl_object.o \
|
lu_object.o capa.o cl_object.o \
|
||||||
cl_page.o cl_lock.o cl_io.o lu_ref.o acl.o lprocfs_counters.o
|
cl_page.o cl_lock.o cl_io.o lu_ref.o acl.o lprocfs_counters.o
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue