[Bugs] [Bug 1207603] New: Persist file size and block count of sharded files in the form of xattrs
bugzilla at redhat.com
bugzilla at redhat.com
Tue Mar 31 09:46:50 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1207603
Bug ID: 1207603
Summary: Persist file size and block count of sharded files in
the form of xattrs
Product: GlusterFS
Version: mainline
Component: sharding
Assignee: bugs at gluster.org
Reporter: kdhananj at redhat.com
QA Contact: bugs at gluster.org
CC: bugs at gluster.org
Description of problem:
Metadata read fops like stat, fstat, lookup, readdirp etc return the file size
and block count in their response. This means that for shard'ed files, it is
necessary to look up each of the shards associated with the file and aggregate
their block count and block_size before returning it to the translators above.
But that would involve lot of network fops, increasing the latency of these
fops. To get around this problem, the size and block count can be kept up to
data in the form of an xattr on the first shard with each inode write operation
(like writev, truncate, ftruncate, zerofill, discard, fallocate etc).
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list