Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Lustre 2.7.0, Lustre 2.5.3
-
3
-
15488
Description
We applied LU-5463 at NCI, and we discovered yet another i_size issue.
The scenario is almost the same with LU-5463, -EDQUOT triggered sync write via vvp_io_commit_sync() which is not doing cl_page_clip() on the last page.
e.g.
[10:27:30 root@r7:local] # dd if=/dev/urandom bs=20 count=300 > /home/900/bjm900/dyltest && stat /home/900/bjm900/dyltest
300+0 records in
300+0 records out
6000 bytes (6.0 kB) copied, 4.11147 s, 1.5 kB/s
File: `/home/900/bjm900/dyltest'
Size: 8192 Blocks: 16 IO Block: 4194304 regular file
Device: f33cd760h/4080850784d Inode: 144118197237319138 Links: 1
Access: (0644/rw-rr-) Uid: ( 5800/ bjm900) Gid: ( 1090/ z00)
Access: 2014-08-28 10:27:46.000000000 +1000
Modify: 2014-08-28 10:27:50.000000000 +1000
Change: 2014-08-28 10:27:50.000000000 +1000
The size is 8192 instead of 6000.
Patch will follow.
Attachments
Issue Links
- is related to
-
LU-5463 Short file size because of -EDQUOT
- Resolved