From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qa0-x234.google.com ([2607:f8b0:400d:c00::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YAMFw-0005i6-7C for linux-mtd@lists.infradead.org; Sun, 11 Jan 2015 17:24:52 +0000 Received: by mail-qa0-f52.google.com with SMTP id x12so8027490qac.11 for ; Sun, 11 Jan 2015 09:24:29 -0800 (PST) Sender: Tejun Heo Date: Sun, 11 Jan 2015 12:24:26 -0500 From: Tejun Heo To: Christoph Hellwig Subject: Re: [PATCH 03/12] fs: introduce f_op->mmap_capabilities for nommu mmap support Message-ID: <20150111172426.GJ25319@htj.dyndns.org> References: <1420739133-27514-1-git-send-email-hch@lst.de> <1420739133-27514-4-git-send-email-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1420739133-27514-4-git-send-email-hch@lst.de> Cc: David Howells , linux-nfs@vger.kernel.org, Jens Axboe , linux-mm@kvack.org, linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org, ceph-devel@vger.kernel.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Jan 08, 2015 at 06:45:24PM +0100, Christoph Hellwig wrote: > Since "BDI: Provide backing device capability information [try #3]" the > backing_dev_info structure also provides flags for the kind of mmap > operation available in a nommu environment, which is entirely unrelated > to it's original purpose. > > Introduce a new nommu-only file operation to provide this information to > the nommu mmap code instead. Splitting this from the backing_dev_info > structure allows to remove lots of backing_dev_info instance that aren't > otherwise needed, and entirely gets rid of the concept of providing a > backing_dev_info for a character device. It also removes the need for > the mtd_inodefs filesystem. > > Signed-off-by: Christoph Hellwig FWIW, Reviewed-by: Tejun Heo Thanks. -- tejun