summaryrefslogtreecommitdiffstats
path: root/transport/socket/src/name.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-07-31 12:38:36 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-31 11:40:32 -0700
commitb63f69cdf40ef5bd79abdcd641b3dcc4bcb3cb1a (patch)
tree8e25967855815851028b469fcfcdce5cbac25b4a /transport/socket/src/name.c
parent2f8a834e7b6acef73795237d6c6269eb9838de53 (diff)
libglusterfsclient: Bind fd on fd creation code paths
When an fd_t is fd_create'd, we need to call fd_bind on it to ensure that any fd_lookup on the inode gets us this fd. We're not doing this so translators like write-behind were not able to order path-based requests at all resulting in some fops like stat, which could be issued after a writev, overtaking a previous writev which is still being written-behind. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 179 (fileop reports miscompares on read tests) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=179
Diffstat (limited to 'transport/socket/src/name.c')
0 files changed, 0 insertions, 0 deletions