[LU-13228] write access to an mmapped file over soft quota limit causes sigbus Created: 10/Feb/20  Updated: 11/May/20  Resolved: 20/Feb/20

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

Type: Bug Priority: Major
Reporter: Alexander Zarochentsev (Inactive) Assignee: Alexander Zarochentsev
Resolution: Fixed Votes: 0
Labels: None

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

 Description   

reproducible on a single node Lustre cluster:

[zam@devvm1 tests]$ rm /mnt/lustre/bbb 
[zam@devvm1 tests]$ ./multiop /mnt/lustre/bbb OT81920SMW
Bus error
[zam@devvm1 tests]$ 
[root@devvm1 tests]# ../utils/lfs quota -g zam -h /mnt/lustre
Disk quotas for grp zam (gid 1000):
 Filesystem used quota limit grace files quota limit grace
 /mnt/lustre 30M* 10M 0k 6d23h47m21s 3 0 0 -
gid 1000 is using default file quota setting
[root@devvm1 tests]# 


 Comments   
Comment by Gerrit Updater [ 10/Feb/20 ]

Alexander Zarochentsev (c17826@cray.com) uploaded a new patch: https://review.whamcloud.com/37495
Subject: LU-13228 tests: mmap write over soft quota limit
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c13ac80be6045c8f358a33125b937fcf7177bdeb

Comment by Alexander Zarochentsev (Inactive) [ 10/Feb/20 ]

The first revision of https://review.whamcloud.com/37495 is a reproducer for the issue.

Comment by Gerrit Updater [ 20/Feb/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37495/
Subject: LU-13228 clio: mmap write when overquota
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b651089f859e8269af7272b91f5e60aa25f24226

Comment by Peter Jones [ 20/Feb/20 ]

Landed for 2.14

Comment by Gerrit Updater [ 20/Apr/20 ]

Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38292
Subject: LU-13228 clio: mmap write when overquota
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 301ccb009953fd3b67793f3cf87ec6f3277de4be

Comment by Gerrit Updater [ 11/May/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38292/
Subject: LU-13228 clio: mmap write when overquota
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 6e37067902741a2de13517ae450b53fbc03c127e

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