[Bug 16312] WARNING: at fs/fs-writeback.c:1127 __mark_inode_dirty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





--- Comment #30 from Jan Kara <jack@xxxxxxx>  2010-09-16 18:13:21 ---
OK, Tejun, I finally read the code. So you are right that the patch doesn't
solve the race. The race seems to be in block/genhd.c:add_disk(). Once we call
register_disk(), device can be successfully opened (get_gendisk() from
blkdev_open() will succeed as soon as disk's kobject exists). But until we call
bdi_register_dev(), backing dev isn't properly initialized and thus can see the
warning. This also explains why Larry is able to see the warning even with your
patch.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux