diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-06-03 16:51:49 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-06-22 00:21:00 -0700 |
commit | 6b4add6b3f54b6d3202535a492eaf906d619ad75 (patch) | |
tree | c6584482a6c03e338374298c1d383d74fdbcc3dc /COPYING-GPLV2 | |
parent | c7f309116d8fa62f6b9fd6ff2902e8ce4bfa192d (diff) |
features/shard: Skip shards resolution if lookup on /.shard returns ENOENT
This change is done in [f]truncate, rename, unlink and readv.
Also, this patch also makes lookup in shard delete GF_CONTENT_KEY
as a workaround for the problems with read caching of sparse files
by quick-read. A proper solution would involve shard_lookup_cbk()
performing a readv, aggregating and ordering the responses and setting
it in the xdata before unwinding the response to upper translators, which
will be done in a separate patch.
Change-Id: Ie12edb9ba8c1fcea38fea0a797916cb2a98fb30c
BUG: 1223759
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/11065
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'COPYING-GPLV2')
0 files changed, 0 insertions, 0 deletions