[LU-6091] FIEMAP returns empty result until stat(2) Created: 07/Jan/15  Updated: 26/Jan/15  Resolved: 16/Jan/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0, Lustre 2.5.4
Fix Version/s: Lustre 2.7.0, Lustre 2.5.4

Type: Bug Priority: Blocker
Reporter: Li Dongyang (Inactive) Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 16953

 Description   

How to reproduce:

With a fresh mounted client or purge the cache by echo 3 > /proc/sys/vm/drop_caches

For any regular file, do a open(2) with O_RDONLY, then FIEMAP ioctl without stat(2). The FIEMAP ioctl will return an empty result.



 Comments   
Comment by Gerrit Updater [ 08/Jan/15 ]

Li Dongyang (dongyang.li@anu.edu.au) uploaded a new patch: http://review.whamcloud.com/13280
Subject: LU-6091 llite: glimpse the inode before doing fiemap
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 661a0fffe9f13f529d7273e9e8a07ac5d924b0ca

Comment by Gerrit Updater [ 16/Jan/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13280/
Subject: LU-6091 llite: glimpse the inode before doing fiemap
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4b983ad104310d6e67d22e42b057085cc9122604

Comment by Gerrit Updater [ 16/Jan/15 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/13439
Subject: LU-6091 llite: glimpse the inode before doing fiemap
Project: fs/lustre-release
Branch: b2_5
Current Patch Set: 1
Commit: d7811628b9d636674119973be7fc1e877d4d83bd

Comment by Jodi Levi (Inactive) [ 16/Jan/15 ]

Patch landed to Master.

Comment by Gerrit Updater [ 26/Jan/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13439/
Subject: LU-6091 llite: glimpse the inode before doing fiemap
Project: fs/lustre-release
Branch: b2_5
Current Patch Set:
Commit: 64160c7f4ed9c63fa577117b364c049f92bb2558

Generated at Sat Feb 10 01:57:08 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.