[Bugs] [Bug 1246988] New: sharding - Populate the aggregated ia_size and ia_blocks before unwinding (f)setattr to upper layers

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 27 06:11:04 UTC 2015


            Bug ID: 1246988
           Summary: sharding - Populate the aggregated ia_size and
                    ia_blocks before unwinding (f)setattr to upper layers
           Product: GlusterFS
           Version: 3.7.3
         Component: sharding
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: kdhananj at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org
        Depends On: 1246082

+++ This bug was initially created as a clone of Bug #1246082 +++

Description of problem:
Sharding translator does not aggregate ia_size and ia_blocks in the cbks of
(f)setattr. And fuse copies out poststat into the fuse output header before
writing the response to /dev/fuse. This was causing issues with OS installation
on vm images with sharded volumes.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create a dis-rep volume with sharding enabled and also all the options that
need to be set which are documented at
2. Create a vm image on the volume.
3. Try to install (any) OS on this newly created image using virt-install CLI.
4. Open the UI on virt-manager and resume installation.
5. The application fails to recognise the virtio disk that is associated with
the image.

Actual results:

Expected results:

Additional info:

--- Additional comment from Krutika Dhananjay on 2015-07-24 02:39:44 EDT ---


--- Additional comment from Anand Avati on 2015-07-27 02:06:32 EDT ---

COMMIT: http://review.gluster.org/11754 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
commit fd296d90168002a475a9899a72a0dd1811f038ee
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date:   Thu Jul 23 14:59:19 2015 +0530

    posix,shard: Fill in ia_size and ia_blocks before unwinding (f)setattr

    The shard xlator will request for size xattrs in its request and
    posix will perform xattr_fill of requested keys before unwinding

    Change-Id: I4ec4779568be6f805724b875b1b4215787112e7f
    BUG: 1246082
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/11754
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>

Referenced Bugs:

[Bug 1246082] sharding - Populate the aggregated ia_size and ia_blocks
before unwinding (f)setattr to upper layers
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