[Bugs] [Bug 1463192] gfapi: discard glfs object when volume is deleted
bugzilla at redhat.com
bugzilla at redhat.com
Mon Oct 8 13:49:58 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1463192
Niels de Vos <ndevos at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(ndevos at redhat.com |
|) |
--- Comment #7 from Niels de Vos <ndevos at redhat.com> ---
Created attachment 1491665
--> https://bugzilla.redhat.com/attachment.cgi?id=1491665&action=edit
Small test program
I am unable to reproduce the problem. Could you explain what I am missing, or
better yet, adapt the program?
Compile:
$ gcc -Wall -g -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -DUSE_POSIX_ACLS=1
-I/usr/include/uuid -lacl -lgfapi -lglusterfs -lgfrpc -lgfxdr -luuid
test-volume-recreate.c -o test-volume-recreate
Run:
$ ./test-volume-recreate $HOSTNAME bz1463192 $PWD/bz1463192.log
volume create: bz1463192: success: please start the volume to access data
volume start: bz1463192: success
glfs_set_volfile_server : returned 0
glfs_set_logging : returned 0
glfs_init : returned 0
volume stop: bz1463192: success
volume delete: bz1463192: success
volume create: bz1463192: success: please start the volume to access data
volume start: bz1463192: success
glfs_h_anonymous_write : returned error -1 (Stale file handle)
glfs_fini(fs) returned 0
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=xfvIRK6spG&a=cc_unsubscribe
More information about the Bugs
mailing list