Whamcloud - gitweb
LU-7805 llite: Remove unused members of struct ll_sb_info 83/18583/2
authorOleg Drokin <oleg.drokin@intel.com>
Tue, 23 Feb 2016 18:26:47 +0000 (13:26 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 14 Jun 2016 03:50:57 +0000 (03:50 +0000)
ll_orphan_dentry_list and ll_conn_chain are not used
and could be removed.

Change-Id: Ibc306b501acb9d541582af82558f6bcfc4582638
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/18583
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c

index f93ca61..afed256 100644 (file)
@@ -533,13 +533,8 @@ struct ll_sb_info {
                                  ll_xattr_cache_enabled:1,
                                  ll_client_common_fill_super_succeeded:1;
 
                                  ll_xattr_cache_enabled:1,
                                  ll_client_common_fill_super_succeeded:1;
 
-       /* per-conn chain of SBs */
-       struct list_head                ll_conn_chain;
         struct lustre_client_ocd  ll_lco;
 
         struct lustre_client_ocd  ll_lco;
 
-       /*please don't ask -p*/
-       struct list_head        ll_orphan_dentry_list;
-
         struct lprocfs_stats     *ll_stats; /* lprocfs stats counter */
 
        /* Used to track "unstable" pages on a client, and maintain a
         struct lprocfs_stats     *ll_stats; /* lprocfs stats counter */
 
        /* Used to track "unstable" pages on a client, and maintain a
index c488fc2..d3feef1 100644 (file)
@@ -104,8 +104,6 @@ static struct ll_sb_info *ll_init_sbi(void)
        sbi->ll_ra_info.ra_max_pages = sbi->ll_ra_info.ra_max_pages_per_file;
        sbi->ll_ra_info.ra_max_read_ahead_whole_pages =
                                           SBI_DEFAULT_READAHEAD_WHOLE_MAX;
        sbi->ll_ra_info.ra_max_pages = sbi->ll_ra_info.ra_max_pages_per_file;
        sbi->ll_ra_info.ra_max_read_ahead_whole_pages =
                                           SBI_DEFAULT_READAHEAD_WHOLE_MAX;
-       INIT_LIST_HEAD(&sbi->ll_conn_chain);
-       INIT_LIST_HEAD(&sbi->ll_orphan_dentry_list);
 
         ll_generate_random_uuid(uuid);
         class_uuid_unparse(uuid, &sbi->ll_sb_uuid);
 
         ll_generate_random_uuid(uuid);
         class_uuid_unparse(uuid, &sbi->ll_sb_uuid);
@@ -745,8 +743,6 @@ static void client_common_put_super(struct super_block *sb)
 
         cl_sb_fini(sb);
 
 
         cl_sb_fini(sb);
 
-       list_del(&sbi->ll_conn_chain);
-
        obd_fid_fini(sbi->ll_dt_exp->exp_obd);
         obd_disconnect(sbi->ll_dt_exp);
         sbi->ll_dt_exp = NULL;
        obd_fid_fini(sbi->ll_dt_exp->exp_obd);
         obd_disconnect(sbi->ll_dt_exp);
         sbi->ll_dt_exp = NULL;