[LU-11502] add striped directory migration support in racer test Created: 11/Oct/18  Updated: 19/Oct/20  Due: 11/Dec/18

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

Type: Bug Priority: Major
Reporter: Lai Siyao Assignee: Lai Siyao
Resolution: Unresolved Votes: 0
Labels: dne3

Issue Links:
Related
is related to LU-10597 lfs mv vs stat deadlock Open
is related to LU-10329 DNE3: REMOTE_PARENT_DIR scalability Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Now only plain directory migration is tested in racer.sh, the test script should be improved to support striped directory migration, and it should be stable, because after directory restripe support, it will become common to migrate striped directory on a system with other loads.



 Comments   
Comment by Andreas Dilger [ 12/Oct/18 ]

Is it possible to separate lfs migrate doing directory restripe, where only the name entries are moved from the migration of the inodes?  I think that moving only the entries is much easier to get working correctly, since it doesn't involve copying the inodes, xattrs, changing the FID,updating the hard links,  updating the parent back pointer on the OST objects, etc. 

For automatic directory split we would only do the name move, and not the inode move, so having some way to request this from lfs migrate would be good so it can be tested separately.

Comment by Lai Siyao [ 13/Oct/18 ]

Yes, it can be added, but we should add support for lots of agent for remote files.

Comment by Gerrit Updater [ 03/Mar/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33325/
Subject: LU-11502 migrate: link parents lock may deadlock
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 666cf1ae827da2b810a759af8b34df40d7dccece

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