xfs-masters
[Top] [All Lists]

[Bug 78981] New: XFS hangs when extracting tarball archive on filesystem

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 78981] New: XFS hangs when extracting tarball archive on filesystem which has small log size.
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 26 Jun 2014 06:02:23 +0000
Auto-submitted: auto-generated
Delivered-to: xfs-masters@xxxxxxxxxxx
https://bugzilla.kernel.org/show_bug.cgi?id=78981

            Bug ID: 78981
           Summary: XFS hangs when extracting tarball archive on
                    filesystem which has small log size.
           Product: File System
           Version: 2.5
    Kernel Version: 3.12.13-gentoo
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: XFS
          Assignee: xfs-masters@xxxxxxxxxxx
          Reporter: jyhpsycho@xxxxxxxxx
        Regression: No

Created attachment 140961
  --> https://bugzilla.kernel.org/attachment.cgi?id=140961&action=edit
dmesg output

I tried to install gentoo linux on virtualbox VM. When I create XFS filesystem
on HDD and extract stage3 tarball image onto it, tar process hangs over than
120 seconds and kernel reports it.



I used 66,846,680 sectors of partition and use following command to create file
system(927 blocks of log size is minimum size that mkfs.xfs currently accepts):

# mkfs.xfs -f -b size=512 -d agcount=1 -i maxpct=0 -l size=927b,version=1
/dev/dis/by-partlabel/HDD_GENTOO_ROOT

When mounting that partition, kernel complains about small log size as:



XFS (sda3): Mounting Filesystem
XFS (sda3): Log size 927 blocks too small, minimum size is 4740 blocks
XFS (sda3): Log size out of supported range. Continuing onwards, but if log
hangs are experienced then please report this message in the bug report.
XFS (sda3): Ending clean mount



Here I used gentoo's default kernel, but vanilla kernels shows same behavior.
That occurs on real machine(not VM), too.

# uname -a
Linux livecd 3.12.13-gentoo #1 SMP Thu Apr 3 06:56:32 UTC 2014 x86_64 Intel(R)
Core(TM) i5-2500S CPU @ 2.70GHz GenuineIntel GNU/Linux
# mkfs.xfs -V
mkfs.xfs version 3.1.10

-- 
You are receiving this mail because:
You are the assignee for the bug.

<Prev in Thread] Current Thread [Next in Thread>