[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201009161813.o8GIDLJl011203@demeter2.kernel.org>
Date: Thu, 16 Sep 2010 18:13:21 GMT
From: bugzilla-daemon@...zilla.kernel.org
To: linux-ext4@...r.kernel.org
Subject: [Bug 16312] WARNING: at fs/fs-writeback.c:1127 __mark_inode_dirty
https://bugzilla.kernel.org/show_bug.cgi?id=16312
--- Comment #30 from Jan Kara <jack@...e.cz> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists