From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) by kanga.kvack.org (Postfix) with ESMTP id 26E1E6B0032 for ; Tue, 20 Jan 2015 16:08:25 -0500 (EST) Received: by mail-ie0-f181.google.com with SMTP id vy18so14805493iec.12 for ; Tue, 20 Jan 2015 13:08:25 -0800 (PST) Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com. [67.231.153.30]) by mx.google.com with ESMTP id l10si3944778igx.31.2015.01.20.13.08.23 for ; Tue, 20 Jan 2015 13:08:24 -0800 (PST) Message-ID: <54BEC3C2.7080906@fb.com> Date: Tue, 20 Jan 2015 14:08:18 -0700 From: Jens Axboe MIME-Version: 1.0 Subject: Re: backing_dev_info cleanups & lifetime rule fixes V2 References: <1421228561-16857-1-git-send-email-hch@lst.de> In-Reply-To: <1421228561-16857-1-git-send-email-hch@lst.de> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Hellwig Cc: David Howells , Tejun Heo , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-mtd@lists.infradead.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org On 01/14/2015 02:42 AM, Christoph Hellwig wrote: > The first 8 patches are unchanged from the series posted a week ago and > cleans up how we use the backing_dev_info structure in preparation for > fixing the life time rules for it. The most important change is to > split the unrelated nommu mmap flags from it, but it also remove a > backing_dev_info pointer from the address_space (and thus the inode) > and cleans up various other minor bits. > > The remaining patches sort out the issues around bdi_unlink and now > let the bdi life until it's embedding structure is freed, which must > be equal or longer than the superblock using the bdi for writeback, > and thus gets rid of the whole mess around reassining inodes to new > bdis. > > Changes since V1: > - various minor documentation updates based on Feedback from Tejun I applied this to for-3.20/bdi, only making the change (noticed by Jan) to kill the extra WARN_ON() in patch #11. -- Jens Axboe -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org