[LU-7139] Sanity test_78 defect: wrong file size calculation: File size -39 Created: 11/Sep/15  Updated: 10/Oct/21  Resolved: 10/Oct/21

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

Type: Bug Priority: Minor
Reporter: Ashish Maurya (Inactive) Assignee: WC Triage
Resolution: Not a Bug Votes: 0
Labels: None

Issue Links:
Related
is related to LU-4037 Failure on test suite sanity test_78:... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When the total available space of all osts is less than 80M, it gives negative file size and test fails.
setup- 2 OSTs, OSTSIZE=30000

== sanity test 78: handle large O_DIRECT writes correctly ============== 10:32:59 (1441861379)
MemFree: 2814, Max file size: 400000
MemTotal: 3830
Mem to use for directio: 1787
Smallest OST: 21120
File size: -39
directIO rdwr round 1 of 5
directio on /mnt/lustre/f78.sanity for -7x1048576 bytes
No memory Cannot allocate memory
 sanity test_78: @@@@@@ FAIL: rdwr failed


 Comments   
Comment by Gerrit Updater [ 11/Sep/15 ]

ashish.maurya (ashish.maurya@seagate.com) uploaded a new patch: http://review.whamcloud.com/16375
Subject: LU-7139 test: Fixing file size calculation test_78 in sanity
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 90bcf8c2dae0945f7a06e2e1904a3b55501a2195

Comment by Andreas Dilger [ 10/Oct/21 ]

Need to run this test with at least OSTSIZE=100000, I don't think that is uneasonable.

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