[LU-8035] finish renaming MDS_GETSTATUS to MDS_GET_ROOT Created: 18/Apr/16  Updated: 13/May/16  Resolved: 13/May/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.9.0
Fix Version/s: Lustre 2.9.0

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: John Hammond
Resolution: Fixed Votes: 0
Labels: easy, mdc, tech-debt

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

After http://review.whamcloud.com/5007 LU-28 fileset: add fileset mount support landed we still have several things named *_getstatus:

lustre/include/obd.h:   int (*m_getstatus)(struct obd_export *, const char *fileset,
lustre/include/obd_class.h:     EXP_CHECK_MD_OP(exp, getstatus);
lustre/include/obd_class.h:     EXP_MD_COUNTER_INCREMENT(exp, getstatus);
lustre/include/obd_class.h:     rc = MDP(exp->exp_obd, getstatus)(exp, fileset, fid);
lustre/lmv/lmv_obd.c:static int lmv_getstatus(struct obd_export *exp,
lustre/lmv/lmv_obd.c:        .m_getstatus            = lmv_getstatus,
lustre/mdc/mdc_request.c:       .m_getstatus        = mdc_get_root,
lustre/obdclass/lprocfs_status.c:        LPROCFS_MD_OP_INIT(num_private_stats, stats, getstatus);

These should be renamed *_get_root.



 Comments   
Comment by Gerrit Updater [ 27/Apr/16 ]

John L. Hammond (john.hammond@intel.com) uploaded a new patch: http://review.whamcloud.com/19824
Subject: LU-8035 subtree: make naming consistent
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: eacab3719650e705abfb719c0c388ce29a8c8988

Comment by Gerrit Updater [ 11/May/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19824/
Subject: LU-8035 obd: rename md_getstatus() to md_get_root()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 895527a77d23ea71e030c81a7cc86d71249e380c

Comment by Joseph Gmitter (Inactive) [ 13/May/16 ]

Landed to master for 2.9.0

Generated at Sat Feb 10 02:14:03 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.