[Bugs] [Bug 1463191] gfapi: discard glfs object when volume is deleted

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 16 12:34:41 UTC 2017


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



--- Comment #3 from Venkata R Edara <redara at redhat.com> ---
Created attachment 1314099
  --> https://bugzilla.redhat.com/attachment.cgi?id=1314099&action=edit
sample patch file for review.

I had the fix in gfapi code. The actual fix is in glfs-mgmt.c which has call to
glfs_get_volume_info() which has callback that checks whether vol id is same
and sets the errno . 

This fix can also be in xlator/protocol/client, we have to register new
handshake protocol entry for fetching volume id. 
clnt_handshake_procs has to have entry GF_HNDSK_GET_VOLUME_INFO and repective
call and callbacks. as adding entry to protocol would be sensitive, I made
changes in gfapi code only.

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


More information about the Bugs mailing list