[LU-13635] Add -D option back to lfs_migrate Created: 05/Jun/20  Updated: 03/Jul/20  Resolved: 16/Jun/20

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

Type: Bug Priority: Minor
Reporter: Emoly Liu Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: LTS12

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

[--non-direct|-D] options should be enabled by lfs_migrate correctly.



 Comments   
Comment by Gerrit Updater [ 05/Jun/20 ]

Emoly Liu (emoly@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38840
Subject: LU-13635 lfs: add -D option back to lfs_migrate
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ec5b6ca176e9445718ef27bf4b7fc9415c47fc19

Comment by Emoly Liu [ 05/Jun/20 ]

I looked into the code and found "-D" options was removed by the patch at https://review.whamcloud.com/32977 and re-added by the patch at https://review.whamcloud.com/20552 , but the related value LFS_OPT_DIRECTIO is never used.
Since "lfs migrate" supports [--non-direct|-D], we should enable it in lfs_migrate correctly.

Comment by Gerrit Updater [ 16/Jun/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38840/
Subject: LU-13635 lfs: add -D option back to lfs_migrate
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 986fe589f9727d52cfa2350ffbaeea0cae94f3d5

Comment by Peter Jones [ 16/Jun/20 ]

Landed for 2.14

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