[Bugs] [Bug 1188242] Disperse volume: client crashed while running iozone

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 4 04:59:25 UTC 2015


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



--- Comment #3 from Ashish Pandey <aspandey at redhat.com> ---
dht_fsync_cbk() function is being called with op_ret = -1,  op_errno = 2
(ENOENT)  and postbuf and prebuff is NULL.
Inside the function dht_fsync_cbk, skipping the error handling of op_errno =
ENOENT 
( if (op_ret == -1 && !dht_inode_missing(op_errno)) ) 
which causes control to go to -  
if (IS_DHT_MIGRATION_PHASE1 (postbuf)) 
Macro  IS_DHT_MIGRATION_PHASE1 trying to access the attributes of file using 
postbuf pointer which is NULL. This leads to crash.
Bug id 960843 made some changes to not to include op_errno = ENOENT in error
handling.

Need to investigate the reason to skip op_errno = ENOENT case and also modify
marco definitions to handle NULL pointers properly.

-- 
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=eCxNjyBYof&a=cc_unsubscribe


More information about the Bugs mailing list