[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100727172731.GA25727@infradead.org>
Date: Tue, 27 Jul 2010 13:27:31 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Jan Kara <jack@...e.cz>
Cc: Christoph Hellwig <hch@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 1/3] bdi: Use parent filesystem BDI for inodes not
capable of writeback
On Tue, Jul 27, 2010 at 07:24:38PM +0200, Jan Kara wrote:
> Always returning inode->i_sb->s_bdi wouldn't be a right thing IMHO.
> That would file inode for /dev/sda to BDI list of tmpfs mounted on /dev/
> which isn't what you want...
It shouldn't. Block device nodes are on the bdev filesystems, and
we twist the file->mapping pointer so that all the low-level read/write
code always deals with the bdev fs inode, and not the device node
filesystem.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists