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:53 -0700 |
| commit | 94481b51a89176f8e43f3d4a6de46e93321bf1b4 (patch) | |
| tree | 0c34815b15295dda1f5dc6d36ba988c9163fabca /xlators/cluster/dht | |
| parent | b9a4b393ee346d027e8cdf4ea7c6f2daf03c0dd2 (diff) | |
features/shard: Skip shards resolution if lookup on /.shard returns ENOENT
Backport of: http://review.gluster.org/#/c/11065
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: I31e5cec8815db0269e664c17ce3e221c55c8863f
BUG: 1227572
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/11332
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/dht')
0 files changed, 0 insertions, 0 deletions
