Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752624AbbHUMzb (ORCPT ); Fri, 21 Aug 2015 08:55:31 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:58293 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbbHUMza (ORCPT ); Fri, 21 Aug 2015 08:55:30 -0400 X-AuditID: cbfee61b-f79706d000001b96-5f-55d71fbffb18 From: Chao Yu To: "'Jaegeuk Kim'" Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <017d01d0da71$5780e8d0$0682ba70$@samsung.com> <20150820174738.GD42028@jaegeuk-mac02.mot-mobility.com> In-reply-to: <20150820174738.GD42028@jaegeuk-mac02.mot-mobility.com> Subject: RE: [PATCH 9/9] f2fs: update extent tree in batches Date: Fri, 21 Aug 2015 20:54:44 +0800 Message-id: <021801d0dc10$a4d36810$ee7a3830$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQLNlFL34fZWxqU7h2EUoA+g4rYsxAEyoVBOnBNijKA= Content-language: zh-cn X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMLMWRmVeSWpSXmKPExsVy+t9jQd398tdDDVpea1g8WT+L2eLSIneL y7vmsDkwe2xa1cnmsXvBZyaPz5vkApijuGxSUnMyy1KL9O0SuDI67t1mK9jOXrH/3EXmBsaf rF2MnBwSAiYSLzqPM0HYYhIX7q1n62Lk4hASmMUoseTiNUYI5xWjxJsX18A62ARUJJZ3/Afr EBFQk+jdNwXMZhbwkGjs+A5WIyRQLNH0eyU7iM0p4CIxecFKoEEcHMICNhILt4GFWQRUJY7u 6mIGsXkFLCV27vgNZQtK/Jh8jwVipJbE+p3HocbLS2xe85YZ4lAFiR1nXzNCnGAlsXXrVWaI GnGJjUdusUxgFJqFZNQsJKNmIRk1C0nLAkaWVYwSqQXJBcVJ6blGeanlesWJucWleel6yfm5 mxjBQf9Megfj4V3uhxgFOBiVeHhnRF4LFWJNLCuuzD3EKMHBrCTCu1P2eqgQb0piZVVqUX58 UWlOavEhRmkOFiVxXn2TTaFCAumJJanZqakFqUUwWSYOTqkGRsX6r/5mZxo4BGyK11240Ogb l+XEKRH6Uf5AAuuSFI32NflWRpOXbFip0Lr0V5KN1Cf37z5Cabdv/xASuvn+Ua9wTheD9sXu jpldegxn675pNL+dOYFXYdnGnlvs9+Z9ldot9eZ91cHZJn4KplFihm/nLPxtOeOPwBLVK/Wb ndqsMuMqvTarK7EUZyQaajEXFScCAPLxXTR2AgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1168 Lines: 33 Hi Jaegeuk, > -----Original Message----- > From: Jaegeuk Kim [mailto:jaegeuk@kernel.org] > Sent: Friday, August 21, 2015 1:48 AM > To: Chao Yu > Cc: linux-f2fs-devel@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 9/9] f2fs: update extent tree in batches > > Hi Chao, > > On Wed, Aug 19, 2015 at 07:21:48PM +0800, Chao Yu wrote: > > This patch introduce a new helper f2fs_update_extent_tree_range > > which can update extent nodes in extent tree in batches. > > > > Now, we use the function to invalidate blocks in batches instead of > > invalidating them one by one when truncating blocks. > > IMO, it's not clear the benefit of this patch in terms of performance and code > readability versus risky code changes. This is only used in truncate path, IMO, in theory, we can gain benefit from this batch mode operation when truncating frequently. I will test the patch for numbers. Thanks, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/