Dan Kenigsberg has submitted this change and it was merged.

Change subject: Fix calculation of file volume allocated size
......................................................................


Fix calculation of file volume allocated size

Allocated size was computed using st_blksize as block size. st_blksize
is the "preferred" buffer size for efficient file system I/O on the file
system where the block is. This patch use block size of 512 bytes as
specified in stat(2) manual.

Change-Id: I71646199e2c0ac4564b832b8ebb202f49e289344
Signed-off-by: Sergey Gotliv <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/21490
Reviewed-by: Dan Kenigsberg <[email protected]>
Reviewed-by: Nir Soffer <[email protected]>
Reviewed-by: Allon Mureinik <[email protected]>
---
M vdsm/storage/fileSD.py
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Nir Soffer: Looks good to me, but someone else must approve
  Sergey Gotliv: Verified
  Allon Mureinik: Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/21490
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I71646199e2c0ac4564b832b8ebb202f49e289344
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Eduardo <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to