[LU-13155] "lfs migrate" and "lfs mirror" should fallocate() the target file Created: 17/Jan/20  Updated: 06/Jun/20

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

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Arshad Hussain
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-3606 Implement fallocate() support for ldi... Resolved
is related to LU-10810 SEEK_HOLE and SEEK_DATA support for l... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Once the fallocate() functionality in patch https://review.whamcloud.com/9275 "LU-3606 fallocate: Implement fallocate preallocate operation" is landed, it would be useful to have "lfs migrate" and "lfs mirror extend" call fallocate() to pre-allocate the output file on the OST in order to get more optimal block allocation.



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

Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: https://review.whamcloud.com/38853
Subject: LU-13155 lfs: Pre-allocate output file for "lfs migrate"
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 41db32267aa386f6aad256d0df120e8af55b7ed9

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