From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: backing_dev_info cleanups & lifetime rule fixes V2 Date: Tue, 20 Jan 2015 14:08:18 -0700 Message-ID: <54BEC3C2.7080906@fb.com> References: <1421228561-16857-1-git-send-email-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1421228561-16857-1-git-send-email-hch@lst.de> Sender: owner-linux-mm@kvack.org 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 List-Id: 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YDg2Y-0006FD-PF for linux-mtd@lists.infradead.org; Tue, 20 Jan 2015 21:08:48 +0000 Message-ID: <54BEC3C2.7080906@fb.com> Date: Tue, 20 Jan 2015 14:08:18 -0700 From: Jens Axboe MIME-Version: 1.0 To: Christoph Hellwig 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 Cc: linux-nfs@vger.kernel.org, linux-mm@kvack.org, David Howells , linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org, Tejun Heo , ceph-devel@vger.kernel.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:48366 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752454AbbATVIw (ORCPT ); Tue, 20 Jan 2015 16:08:52 -0500 Message-ID: <54BEC3C2.7080906@fb.com> Date: Tue, 20 Jan 2015 14:08:18 -0700 From: Jens Axboe MIME-Version: 1.0 To: Christoph Hellwig CC: David Howells , Tejun Heo , , , , , 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 Sender: linux-nfs-owner@vger.kernel.org List-ID: 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: backing_dev_info cleanups & lifetime rule fixes V2 Date: Tue, 20 Jan 2015 14:08:18 -0700 Message-ID: <54BEC3C2.7080906@fb.com> References: <1421228561-16857-1-git-send-email-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: David Howells , Tejun Heo , , , , , To: Christoph Hellwig Return-path: In-Reply-To: <1421228561-16857-1-git-send-email-hch@lst.de> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.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