Skip to contentSkip to conversation

New: Race condition in umount

Bugme-new Andrew Morton 3 participants 3 messages Mar 31, 2011 – Apr 27, 2011 1 message not in the archive VFS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 27 lines · On Thu, 31 Mar 2011 04:54:52 GMT [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=32312

Summary: Race condition in umount
Product: File System
Version: 2.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: VFS
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No

The Red Hat folks suggested reporting this bug here:

https://bugzilla.redhat.com/show_bug.cgi?id=683836

In summary, doing many umounts in parallel causes some umounts to fail and if the mount/parallel umount cycle is repeated a few times, bad stuff happens inside the kernel.

Reproduced with 2.6.38.*.

#2 lore raw

Hello all

I was wondering if anyone has had a chance to review this issue?

Regards

Albert

Quoted 36 lines · Andrew Morton

(switched to email.  Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 27 lines · On Thu, 31 Mar 2011 04:54:52 GMT [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=32312

           Summary: Race condition in umount
           Product: File System
           Version: 2.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: VFS
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No

The Red Hat folks suggested reporting this bug here:

https://bugzilla.redhat.com/show_bug.cgi?id=683836

In summary, doing many umounts in parallel causes some umounts to fail and if the mount/parallel umount cycle is repeated a few times, bad stuff happens inside the kernel.

Reproduced with 2.6.38.*.

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

reviewer
#3 lore raw

Hi,

Quoted 1 line · Albert Strasheim

I was wondering if anyone has had a chance to review this issue?

I had a look into this and it should be fixed in 2.6.39-rc1. In
particular by commit 0aeea189.

Honza

Quoted 42 lines
Quoted 36 lines · Andrew Morton

(switched to email.  Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 27 lines · On Thu, 31 Mar 2011 04:54:52 GMT [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=32312

           Summary: Race condition in umount
           Product: File System
           Version: 2.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: VFS
        AssignedTo: [email protected]
        ReportedBy: [email protected]
        Regression: No

The Red Hat folks suggested reporting this bug here:

https://bugzilla.redhat.com/show_bug.cgi?id=683836

In summary, doing many umounts in parallel causes some umounts to fail and if the mount/parallel umount cycle is repeated a few times, bad stuff happens inside the kernel.

Reproduced with 2.6.38.*.

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 6 lines
Jan Kara <[email protected]>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html