Bug 1333358

Summary: Provide way to determine if xlator option 'resync-failed-syncs-after-fsync' is supported
Product: [Community] GlusterFS Reporter: Niels de Vos <ndevos>
Component: libgfapiAssignee: bugs <bugs>
Status: CLOSED UPSTREAM QA Contact: Sudhir D <sdharane>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, sgarzare
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-20 09:10:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1333142, 1524254, 1548448    

Description Niels de Vos 2016-05-05 11:27:41 UTC
In the current upstream Gluster, the write-behind cache supports a xlator option 'resync-failed-syncs-after-fsync', which has Gluster retain the cache on fsync failure, until the file descriptor is flushed/closed.  With this QEMU, when using the libglusterfs library, can perform retries on a fsync failure.

However, QEMU has no way of determining at runtime if this xlator option is supported.  The api glfs_set_xlator_option() will return success even for unknown options.  It would be very useful for us to be able to determine if we can use the new xlator option - until we can determine if it is support, QEMU must act as if it is not supported.

Comment 1 Vijay Bellur 2018-11-20 09:42:06 UTC
Migrated to github:


Please follow the github issue for further updates on this bug.

Comment 2 Stefano Garzarella 2019-09-09 09:14:48 UTC
Is glfs_set_xlator_option() fixed or there is any way in the current API to know if 'resync-failed-syncs-after-fsync' is supported or not?