From: Chao Yu <chao2.yu@samsung.com>
To: 'Jaegeuk Kim' <jaegeuk@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [PATCH 9/9] f2fs: update extent tree in batches
Date: Fri, 21 Aug 2015 20:54:44 +0800 [thread overview]
Message-ID: <021801d0dc10$a4d36810$ee7a3830$@samsung.com> (raw)
In-Reply-To: <20150820174738.GD42028@jaegeuk-mac02.mot-mobility.com>
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,
------------------------------------------------------------------------------
WARNING: multiple messages have this Message-ID (diff)
From: Chao Yu <chao2.yu@samsung.com>
To: "'Jaegeuk Kim'" <jaegeuk@kernel.org>
Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: RE: [PATCH 9/9] f2fs: update extent tree in batches
Date: Fri, 21 Aug 2015 20:54:44 +0800 [thread overview]
Message-ID: <021801d0dc10$a4d36810$ee7a3830$@samsung.com> (raw)
In-Reply-To: <20150820174738.GD42028@jaegeuk-mac02.mot-mobility.com>
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,
next prev parent reply other threads:[~2015-08-21 12:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 11:21 [PATCH 9/9] f2fs: update extent tree in batches Chao Yu
2015-08-19 11:21 ` Chao Yu
2015-08-20 17:47 ` Jaegeuk Kim
2015-08-21 12:54 ` Chao Yu [this message]
2015-08-21 12:54 ` Chao Yu
2015-08-25 9:33 ` [f2fs-dev] " Chao Yu
2015-08-25 9:45 ` Chao Yu
2015-08-25 22:26 ` Jaegeuk Kim
2015-08-25 22:26 ` [f2fs-dev] " Jaegeuk Kim
2015-08-26 12:33 ` Chao Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='021801d0dc10$a4d36810$ee7a3830$@samsung.com' \
--to=chao2.yu@samsung.com \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.