diff options
author | Kotresh HR <khiremat@redhat.com> | 2015-02-10 16:43:50 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-02-16 07:47:58 -0800 |
commit | e04039092d28dde70a9a394010cd04cf0a12726a (patch) | |
tree | 6d0b870609c036291fa87f2358b13be8b1bf9f77 /rpc/rpc-transport/rdma/src/rdma.c | |
parent | 8618abaaf07a96c0384db9bd1e7dbbe663f4f24c (diff) |
feature/gfid-access: Send a named lookup before trying to create a file.
Normally a named-lookup is done by the kernel on an entry before it
issues a dentry creation fop like create/mknod etc. This will enable
cluster translators like dht to maintain internal consistency like
deleting a linkto file if no corresponding datafile is present etc.
While handling file creation on auxiliary gfid mounts, we issue dentry
creation fop without issuing a lookup. If there are stale-linkto files,
creation would fail with EEXIST, however access would fail since there
is no datafile. A named lookup would cleanup the linkto file allowing
create to succeed.
Change-Id: I2932107296adac710dd179df7d0946b8697a497a
BUG: 1191413
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/9634
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'rpc/rpc-transport/rdma/src/rdma.c')
0 files changed, 0 insertions, 0 deletions