Bug 1802013
Summary: | read() returns more than file size when using direct I/O | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Krutika Dhananjay <kdhananj> | |
Component: | sharding | Assignee: | Krutika Dhananjay <kdhananj> | |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | unspecified | CC: | atumball, bugs, csaba, kdhananj, khiremat, kwolf, nsoffer, pkarampu, pprakash, puebele, rabhat, rgowdapp, rhs-bugs, rkavunga, rkothiya, sabose, sasundar, sheggodu, storage-qa-internal, teigland, tnisan, vjuranek | |
Target Milestone: | --- | Keywords: | Triaged, ZStream | |
Target Release: | RHGS 3.5.z Batch Update 2 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-6.0-34 | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1738419 | |||
: | 1802016 (view as bug list) | Environment: | ||
Last Closed: | 2020-06-16 06:19:37 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1740316 | |||
Bug Blocks: | 1801892, 1802016 |
Description
Krutika Dhananjay
2020-02-12 07:40:57 UTC
Prasanth, can you provide qa ack for this to take into 3.5.2 ? We need this for RHHI-V (given the changes added for 4K block support in recent releases) (In reply to Sahina Bose from comment #1) > Prasanth, can you provide qa ack for this to take into 3.5.2 ? We need this > for RHHI-V (given the changes added for 4K block support in recent releases) Sahina, considering the importance of the requirement, I'm providing qa_ack+ for this BZ for 3.5.2 Verified with RHVH 4.4.1 and RHGS 3.5.2 - glusterfs-6.0-37.el8rhgs with the following steps: [root@ ~]# ls /rhev/data-center/mnt/glusterSD/rhsqa-grafton7.lab.eng.blr.redhat.com\:_vmstore/977e8d86-afd8-46c1-bf15-ed19d3cb6ed1/dom_md/ ids inbox leases metadata outbox xleases [root@ ~ ]# stat metadata File: metadata Size: 391 Blocks: 1 IO Block: 131072 regular file Device: 34h/52d Inode: 10208956554895298979 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 36/ vdsm) Gid: ( 36/ kvm) Context: system_u:object_r:fusefs_t:s0 Access: 2020-06-03 18:59:17.547192000 +0000 Modify: 2020-06-03 18:59:17.548192011 +0000 Change: 2020-06-03 18:59:17.600192582 +0000 Birth: - [root@ ~ ]# cat metadata ALIGNMENT=1048576 BLOCK_SIZE=4096 CLASS=Data DESCRIPTION=vmstore IOOPTIMEOUTSEC=10 LEASERETRIES=3 LEASETIMESEC=60 LOCKPOLICY= LOCKRENEWALINTERVALSEC=5 POOL_UUID=0f3fc724-a5ca-11ea-a7a6-004755204901 REMOTE_PATH=rhsqa-grafton7.lab.eng.blr.redhat.com:/vmstore ROLE=Regular SDUUID=977e8d86-afd8-46c1-bf15-ed19d3cb6ed1 TYPE=GLUSTERFS VERSION=5 _SHA_CKSUM=771d06cb29cd1ee6a7e5b4c72be119cd5078a87e [root@ ~]# dd if=metadata of=/dev/null bs=4096 count=1 0+1 records in 0+1 records out 391 bytes copied, 0.000101469 s, 3.9 MB/s [root@ ~]# dd if=metadata of=/dev/null bs=4096 count=1 iflag=direct 0+1 records in 0+1 records out 391 bytes copied, 0.00143502 s, 272 kB/s So there are no zeroes padded Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2572 |