[LU-14149] FIEMAP should set FIEMAP_EXTENT_DATA_ENCRYPTED for fscrypt files Created: 26/Nov/20  Updated: 29/Dec/20  Resolved: 17/Dec/20

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

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Sebastien Buisson
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11848 filefrag/FIEMAP doesn't work for PFL ... Resolved
is related to LU-12275 Client-side file data encryption Resolved
is related to LU-14281 sanity-sec test 56 fails with 'filefr... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

The FIEMAP ioctl should set FIEMAP_EXTENT_DATA_ENCRYPTED|FIEMAP_EXTENT_ENCODED for all extents of files encrypted by fscrypt.



 Comments   
Comment by Andreas Dilger [ 26/Nov/20 ]

Note that there is a new patch to FIEMAP in LU-11848, so this should try to avoid conflict with that patch if practical.

Comment by Sebastien Buisson [ 03/Dec/20 ]

I am going to push a patch. But as I do not fully get the need for this, it might be too simple. Let's discuss this in Gerrit.

Comment by Gerrit Updater [ 03/Dec/20 ]

Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/40852
Subject: LU-14149 llite: fiemap set flags for encrypted files
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3d90fee9f0314dfb76520812636607120cb7d11f

Comment by Gerrit Updater [ 17/Dec/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40852/
Subject: LU-14149 llite: fiemap set flags for encrypted files
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 33322f3a24882dc3ab8ffbb4aab2a0ed28cfe15c

Comment by Peter Jones [ 17/Dec/20 ]

Landed for 2.14

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