From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 2/4] Assign bdi in super_block Date: Fri, 11 Sep 2009 14:01:06 -0400 Message-ID: <20090911180106.GB19598@infradead.org> References: <1252669832-13553-1-git-send-email-jens.axboe@oracle.com> <1252669832-13553-3-git-send-email-jens.axboe@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, chris.mason@oracle.com, hch@infradead.org, tytso@mit.edu, akpm@linux-foundation.org, jack@suse.cz, trond.myklebust@fys.uio.no To: Jens Axboe Return-path: Content-Disposition: inline In-Reply-To: <1252669832-13553-3-git-send-email-jens.axboe@oracle.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Sep 11, 2009 at 01:50:30PM +0200, Jens Axboe wrote: > We do this automatically in get_sb_bdev() from the set_bdev_super() > callback. Filesystems that have their own private backing_dev_info > must assign that in ->fill_super(). > > Note that ->s_bdi assignment is required for proper writeback! Looks good to me. Can we get rid of BDI_CAP_NO_WRITEBACK with this by simply not assigning a bdi?