Messages in this thread | | | From | Chao Yu <> | Subject | RE: [f2fs-dev] [PATCH 5/5 v4] f2fs: introduce a batched trim | Date | Fri, 06 Feb 2015 16:20:37 +0800 |
| |
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 <jaegeuk@kernel.org>
Looks good to me.
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
| |