diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-10-20 03:43:43 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-20 10:18:05 -0700 |
commit | 492993570bb02bd7d244693ad28e409973fa9f4c (patch) | |
tree | 178a3a97077340506251da16e98453c2307b0518 /libglusterfs/src | |
parent | 61d0ad544322ea0e0e9b0549662b8ca912641951 (diff) |
performance/write-behind: fix to bug in setattr which was causing frames to be missed.
- local->file was being assigned even before file pointer was got from any of
the fds opened on the inode, 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 for the file.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 327 (dbench does not complete)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=327
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions