Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754578AbbBFIVe (ORCPT ); Fri, 6 Feb 2015 03:21:34 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:28488 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbbBFIVd (ORCPT ); Fri, 6 Feb 2015 03:21:33 -0500 X-AuditID: cbfee61b-f79d76d0000024d6-43-54d4798ad56c From: Chao Yu To: "'Jaegeuk Kim'" Cc: "'Changman Lee'" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <1422401503-4769-1-git-send-email-jaegeuk@kernel.org> <1422401503-4769-5-git-send-email-jaegeuk@kernel.org> <003b01d03bc0$a5f23d20$f1d6b760$@samsung.com> <20150129214117.GB17521@jaegeuk-mac02> <006701d03c4b$a62ec0c0$f28c4240$@samsung.com> <20150202232803.GB34575@jaegeuk-mac02.mot.com> <20150203024822.GA8798@lcm> <20150203200904.GA43329@jaegeuk-mac02.mot.com> <006001d04126$895e3680$9c1aa380$@samsung.com> <20150206061837.GA66378@jaegeuk-mac02.hsd1.ca.comcast.net> In-reply-to: <20150206061837.GA66378@jaegeuk-mac02.hsd1.ca.comcast.net> Subject: RE: [f2fs-dev] [PATCH 5/5 v4] f2fs: introduce a batched trim Date: Fri, 06 Feb 2015 16:20:37 +0800 Message-id: <005001d041e5$e87089b0$b9519d10$@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: AQKDs63B3JtDSVeEmIqjDxgyUQN23AKL4RA4AesmHNICu8hVlALb7iAnAW6K7XgB1gMARwHNO3tDAe04zjoBhmiYN5rnwq6A Content-language: zh-cn X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHLMWRmVeSWpSXmKPExsVy+t9jQd2uyishBtuuG1hc29fIZPFk/Sxm i0uL3C327D3JYnF51xw2B1aPTas62Tx2L/jM5NG3ZRWjx+dNcgEsUVw2Kak5mWWpRfp2CVwZ PQdZC76zVWye2MDSwHiatYuRg0NCwETi3LXwLkZOIFNM4sK99WxdjFwcQgLTGSW63+5jhHB+ MEpcvPGOEaSKTUBFYnnHfyYQW0RATaJ33xQwm1lgIqPE6b1yEA1vmSWunZkAluAUcJc4druP HcQWFnCVeHDxFhvIZhYBVYm+E/ogYV4BS4l33z4zQ9iCEj8m32OBmKklsX7ncaj58hKb17xl hrhUQWLH2deMEDcUSMyZ3MAGUSMusfHILZYJjEKzkIyahWTULCSjZiFpWcDIsopRNLUguaA4 KT3XSK84Mbe4NC9dLzk/dxMjOBaeSe9gXNVgcYhRgINRiYc3gfdKiBBrYllxZe4hRgkOZiUR Xoa/l0OEeFMSK6tSi/Lji0pzUosPMUpzsCiJ8yrZt4UICaQnlqRmp6YWpBbBZJk4OKUaGLvX PDtQxrqgen6mR+6F9oNr5i5aMK33hpuA+IQNTxZMnhm+fsvSeaqGXeme1SnN+332beZ7kDTZ eK5m2U7H+6lvGn8KfVfe7nnzn+RiM/moG8anii7VXLrhazK1q1hpMvPhCSpZpWt/LZxmf+IX U+I33axm2Zs3vetSKkW32zzaf9nVxqqn0EeJpTgj0VCLuag4EQCQ/GKpgQIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 35 Hi Jaegeuk, > -----Original Message----- > From: Jaegeuk Kim [mailto:jaegeuk@kernel.org] > Sent: Friday, February 06, 2015 2:19 PM > To: Chao Yu > Cc: 'Changman Lee'; linux-fsdevel@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-devel@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 5/5 v4] f2fs: introduce a batched trim > > Hi Chao, > > Something like this? > > Change log from v3: > o align to section size > > This patch introduces a batched trimming feature, which submits split discard > commands. > > This is to avoid long latency due to huge trim commands. > If fstrim was triggered ranging from 0 to the end of device, we should lock > all the checkpoint-related mutexes, resulting in very long latency. > > Signed-off-by: Jaegeuk Kim Looks good to me. Reviewed-by: Chao Yu -- 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/