Hide Forgot
in wb_setattr, local->file was being assigned even before file pointer was got, thus making local->file to be NULL. In wb_setattr_cbk, since local->file is NULL (and hence file passed to wb_process_queue), wb_process_queue does not resume the pending operations queued in file.
Configuration: fuse->wb->io-threads->posix. Command run: dbench -s 1 -t 10 issue: dbench does not complete. On debugging, its found that setattr/flush frames are missing.
PATCH: http://patches.gluster.com/patch/1956 in master (performance/write-behind: fix to bug in setattr which was causing frames to be missed.)