[Bugs] [Bug 1773476] gluster does not return correct filesize and blocksize after ftruncate

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 20 06:28:58 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1773476

Ravishankar N <ravishankar at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ravishankar at redhat.com
           Doc Type|---                         |If docs needed, set a value
              Flags|                            |needinfo?(zz.sh.cynthia at gma
                   |                            |il.com)



--- Comment #2 from Ravishankar N <ravishankar at redhat.com> ---
Looks like a fuse (kernel) caching issue to me. If I mount the volume with
attribute-timeout and entry-timeout set to zero, I don't see the crash and I
get the correct stat size 
Can you confirm if this works?
1. mount -t glusterfs -o attribute-timeout=0 -o entry-timeout=0   IP:volname 
/mout-point
2. Run your test.c program.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list