Re: Race in iput()?

viro_at_parcelfarce.linux.theplanet.co.uk
Date: 06/29/04

  • Next message: Travis Morgan: "SATA problems on two different systems"
    Date:	Tue, 29 Jun 2004 06:40:17 +0100
    To: Paul Menage <menage@google.com>
    
    

    On Mon, Jun 28, 2004 at 09:40:10PM -0700, Paul Menage wrote:
    > Hi,
    >
    > Is the following sequence of events possible? If so, that would seem
    > to be a bug.
    >
    > - inode on non-MS_ACTIVE superblock is on unused list (fs being unmounted?)
    > - prune_icache() starts processing inode, so sets I_LOCK
    > - in another thread, someone calls iget() then iput() on inode

    Umm... What would that other thread be? MS_ACTIVE is removed upon the final
    umount, all right, but that's done only when nobody except the filesystem
    itself should be able to even see it...
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Travis Morgan: "SATA problems on two different systems"

    Relevant Pages

    • Re: ACPI: problem on ASUS PR-DLS533
      ... > Len and co are working through the list, one bug at a time, so hopefully ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: 2.6.13-rc6 Oops with Software RAID, LVM, JFS, NFS
      ... >> This might trigger the bug early enough to see what is happening. ... > I've got tests running with this code in place, by I/O is so slow now ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: 2.6.13-rc6 Oops with Software RAID, LVM, JFS, NFS
      ... > This might trigger the bug early enough to see what is happening. ... I've got tests running with this code in place, by I/O is so slow now ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: Synaptics PS/2 driver and 2.6.0-test11
      ... I have this problem reported as bug 1093 at bugme.osdl.org, ... problem is not with the gnome applet, in fact I'm seing it under icewm and I ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: [PATCH] fix readahead breakage for sequential after random reads
      ... > Also I think the bug that Miklos, found is really hard to reproduce. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)