From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Subject: Re: [Bug #19062] Dirtiable inode bdi default != sb bdi btrfs Date: Mon, 4 Oct 2010 11:59:44 +0200 Message-ID: <20101004095943.GE3589@quack.suse.cz> References: <20101002165433.GL21129@thunk.org> <201010022358.35972.rjw@sisk.pl> <20101003022707.GN21129@thunk.org> <4CA89E63.4080907@kernel.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <4CA89E63.4080907-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tejun Heo Cc: Ted Ts'o , "Rafael J. Wysocki" , Andrew Morton , Linux Kernel Mailing List , Kernel Testers List , Maciej Rutecki , Florian Mickler , Cesar Eduardo Barros , Jens Axboe , Jan Kara , Christoph Hellwig On Sun 03-10-10 17:16:51, Tejun Heo wrote: > On 10/03/2010 04:27 AM, Ted Ts'o wrote: > > WARNING: at /usr/projects/linux/ext4/fs/fs-writeback.c:87 inode_to_bdi+0x4e/0x5c() > > Hardware name: > > Dirtiable inode bdi block != sb bdi block > > Modules linked in: > > Pid: 21649, comm: mkfs.ext4 Tainted: G W 2.6.36-rc6-00016-gcc25699 #735 > > Call Trace: > > [] warn_slowpath_common+0x6a/0x7f > > [] ? inode_to_bdi+0x4e/0x5c > > [] warn_slowpath_fmt+0x2b/0x2f > > [] inode_to_bdi+0x4e/0x5c > > [] __mark_inode_dirty+0xaf/0x162 > > [] file_update_time+0xcc/0xe9 > > [] __generic_file_aio_write+0x136/0x28f > > [] blkdev_aio_write+0x33/0x72 > > [] do_sync_write+0x8f/0xca > > [] ? mutex_unlock+0xd/0xf > > [] ? security_file_permission+0x27/0x2b > > [] ? rw_verify_area+0x9d/0xc0 > > [] ? do_sync_write+0x0/0xca > > [] vfs_write+0x85/0xe3 > > [] sys_write+0x40/0x62 > > [] syscall_call+0x7/0xb > > ---[ end trace 1f39401760ab3a42 ]--- Yes, it's caused by one of my fixes. It's harmless (the warning I've added is just too strict). Christoph has a patch that also fixes this - http://lkml.org/lkml/2010/9/29/76. I hope he'll push it soon. Honza -- Jan Kara SUSE Labs, CR