[LU-16527] some directory layout inheritance fixes Created: 02/Feb/23  Updated: 13/Mar/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Vitaly Fertman Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

fixes for some minor problems:

  • it may happen that the depth is not set on a dir, do not consider
    depth == 0 as a real depth while checking if the root default is
    applicable;
  • setdirstripe util implicitely sets max_inherit to 3 for non-striped
    dir when -i option is given but -c is not; at the same time 3 is the
    default for striped dirs only;
  • getdirstripe shows inherited default layouts with max_inherit==0,
    whereas it has no sense anymore; the same for an explicitely set
    default layout on a dir/root with max_inherit==0;
  • getdirstripe hides max_inherit_rr when stripe_offset != -1 as it has
    no sense and reset to 0, however it leads to user confusion;


 Comments   
Comment by Gerrit Updater [ 02/Feb/23 ]

"Vitaly Fertman <vitaly.fertman@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49882
Subject: LU-16527 llite: dir layout inheritance fixes
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0fdcc9a86b6b2c41f1ccd87363ff88be10c77e37

Comment by Gerrit Updater [ 23/Feb/23 ]

"Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50124
Subject: LU-16527 llite: update dir depth on open
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: af0056cdefdbf610500124e543047b7714722f8e

Comment by Gerrit Updater [ 13/Mar/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49882/
Subject: LU-16527 llite: dir layout inheritance fixes
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6a5a4b49fabcb4c9715ae017009f1a8be91de235

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