summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
authorAnand Avati <avati@dev.gluster.com>2009-08-06 21:51:33 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-08-07 01:24:17 -0700
commit57a6cb9806ad9d99e6866a21d16fcb1bafef000c (patch)
tree241873bea6ac0ed17a46ab5d3b529825d583e0a4 /xlators/mount
parentcce2f6f690b2cac2ed7383fb9306c0dd8b5d3aa6 (diff)
protocol/client: fixed registration of saved_fds
In client_open_cbk, client_opendir_cbk the list_add_tail macros were invoked with wrong ordered arguments, causing the existing registered fd list to get unlinked from the saved_fds list. The effects of this is far fetched - when transport disconnects, open fds are no more marked bad as they are not reachable from the saved_fds list. After reconnection, resumed access on this fd causes reference to invalid fds on the server. It could appear in the form of 'unresolved fd' error, readdir happening on a file fd, files reading from other files, etc. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 192 (sefault in posix-readdir) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=192 BUG: 126 (Immediate segfault when used for rootfs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=126 BUG: 173 ([ glusterfs 2.0.6rc1 ] - "server SEG fault") URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=173 BUG: 194 (Apache+Booster results in inconsistent download size using wget) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=194
Diffstat (limited to 'xlators/mount')
0 files changed, 0 insertions, 0 deletions