Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Because DIO writes do not update the inode size during the write, when a file is closed and the LSOM update is sent, the file size provided by the client is incorrect.
DIO writes don't cause consistency problems because ls and other things which check the file size will get the correct size and update the inode size then, but they should still update the inode size.
This is best done by calling ll_merge_attr on all writes at the end of the write, rather than just for async writes in vvp_io_write_commit.