summaryrefslogtreecommitdiffstats
path: root/xlators/meta/src
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2015-06-03 16:51:49 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-06-22 00:21:00 -0700
commit6b4add6b3f54b6d3202535a492eaf906d619ad75 (patch)
treec6584482a6c03e338374298c1d383d74fdbcc3dc /xlators/meta/src
parentc7f309116d8fa62f6b9fd6ff2902e8ce4bfa192d (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 'xlators/meta/src')
0 files changed, 0 insertions, 0 deletions