xfs-masters
[Top] [All Lists]

[Bug 15282] New: Sync(2) blocked when syncing XFS

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 15282] New: Sync(2) blocked when syncing XFS
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Fri, 12 Feb 2010 09:53:56 GMT
Auto-submitted: auto-generated
http://bugzilla.kernel.org/show_bug.cgi?id=15282

           Summary: Sync(2) blocked when syncing XFS
           Product: File System
           Version: 2.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: XFS
        AssignedTo: xfs-masters@xxxxxxxxxxx
        ReportedBy: frankm@xxxxxxxxx
        Regression: No


Hello,
I have a Fedora 9 ( kernel 2.6.27.25-113 ). Every 30s a file is updated on a
XFS partition ( including mounting/unmounting ). Every 3 seconds and before
every unmount sync(2) is called.
The blocking happens sometimes when pulling out a FAT Usb-Stick while writing
to it. While writing to the Usb sync(2) is not called, but once its pulled out
these calls are executed again.

I got this call trace from my program when it got blocked
t_dso         D 00000000     0  7543   7418
       f30b2380 00000082 f336f400 00000000 f336f580 5b52c357 0000008f f6ccf000 
       f336f580 00000001 f6d2b800 f6d1a1f8 7fffffff f36e2f20 00000002 c0674934 
       c05b5407 f6cd48e0 f6ccf0ac f6cd49d8 f6ccf138 f6ccf024 f6d1a1f8 7fffffff 
Call Trace:
 [<c0674934>] schedule_timeout+0x13/0x8d
 [<c05b5407>] scsi_request_fn+0x390/0x3de
 [<c067483e>] wait_for_common+0xc8/0x13f
 [<c0416e7e>] default_wake_function+0x0/0x8
 [<c0502dda>] xfs_buf_iowait+0x1c/0x25
 [<c0500892>] xfs_bwrite+0x5e/0x89
 [<c04fbe33>] xfs_syncsub+0x10a/0x205
 [<c0508748>] xfs_fs_sync_super+0x2a/0xc3
 [<c04fbe56>] xfs_syncsub+0x12d/0x205
 [<c04773da>] sync_filesystems+0xa6/0x100
 [<c049247d>] do_sync+0x2e/0x55
 [<c04924ae>] sys_sync+0xa/0x10
 [<c0403a6e>] syscall_call+0x7/0xb

Thanks in advance. If you need further information please don't hesitate to
ask.
Cheers,
Frank

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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