[LU-4664] sync write should consume grant on client Created: 25/Feb/14  Updated: 09/Jul/20  Resolved: 09/Jul/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0, Lustre 2.6.0, Lustre 2.4.2, Lustre 2.12.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Niu Yawei (Inactive) Assignee: Zhenyu Xu
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11239 sanity-lfsck test 36a fails with 'Fai... Resolved
is related to LU-4482 OST grants bugs Resolved
is related to LU-11527 sanity test_270a failed with O_DIRECT... Resolved
is related to LU-247 Lustre client slow performance on BG/... Resolved
is related to LU-12687 Fast ENOSPC on direct I/O Resolved
is related to LU-12757 sanity-lfsck test 36a fails with '(N)... Resolved
Severity: 3
Rank (Obsolete): 12781

 Description   

Sync/direct write should consume grant on client as well, otherwise, it could fail with ENOSPC even when there is lots of grant reserved by clients.



 Comments   
Comment by Niu Yawei (Inactive) [ 03/Mar/14 ]

http://review.whamcloud.com/9454

Comment by Niu Yawei (Inactive) [ 18/Jul/17 ]

There are lots problems in current DIO implementation, see LU-247. I think this problem should be addressed with other problems together.

Comment by Niu Yawei (Inactive) [ 18/Jul/17 ]

Dup of LU-247.

Comment by Gerrit Updater [ 06/Nov/18 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33588
Subject: LU-4664 libcfs: allow file/func/line passed to CDEBUG()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0c75bd16ba03d6aaec94d9653d71f907e7e065d9

Comment by Gerrit Updater [ 11/Feb/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33588/
Subject: LU-4664 libcfs: allow file/func/line passed to CDEBUG()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 8503e73bd936ce286c8acd069ed3285a0b7533b2

Comment by Andreas Dilger [ 09/Jul/20 ]

The patch https://review.whamcloud.com/35896 "LU-12687 osc: consume grants for direct I/O" is about to land and will fix this issue.

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