diff options
author | Mohammed Rafi KC <rkavunga@redhat.com> | 2016-01-02 23:34:54 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2016-01-05 04:42:56 -0800 |
commit | 45b1bf53da028b92ea7fc3f21a53f2a3cb0d8b0c (patch) | |
tree | 5f106e1a493ca33f819a710d92a37f4199689fd0 /api/src/glfs-internal.h | |
parent | 57ef73821c8062e1503926751fd72bdad7506c86 (diff) |
tier/create: store TIER_LINKFILE_GFID in xattr dictionary
In tier_create, a new key TIER_LINKFILE_GFID was introduced to
avoid a race in stale linkfile deletion. Storing this key in
xattr dictionary instead of using local->params dictionary.
Because local->params dictionary was also used to create the file
before stale linkfile deletion, that leads posix_create to fail,
trying to set the added key as extended attributes
Change-Id: I24fecb62b47bee65a1e86103925a67d13304c5df
BUG: 1290677
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Reviewed-on: http://review.gluster.org/13130
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: N Balachandran <nbalacha@redhat.com>
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'api/src/glfs-internal.h')
0 files changed, 0 insertions, 0 deletions