* [PATCH] change a comment on fs/ext4/extents.c
@ 2012-06-19 15:35 haiboliu6
2012-06-20 15:51 ` Zheng Liu
2012-06-21 18:14 ` Haibo
0 siblings, 2 replies; 3+ messages in thread
From: haiboliu6 @ 2012-06-19 15:35 UTC (permalink / raw)
To: linux-ext4; +Cc: HaiboLiu
From: HaiboLiu <HaiboLiu6@gmail.com>
May be it's better.
Signed-off-by: HaiboLiu <HaiboLiu6@gmail.com>
---
fs/ext4/extents.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 74f23c2..db671b9 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -1807,11 +1807,10 @@ has_space:
nearex->ee_len = newext->ee_len;
merge:
- /* try to merge extents to the right */
+ /* try to merge extents */
if (!(flag & EXT4_GET_BLOCKS_PRE_IO))
ext4_ext_try_to_merge(inode, path, nearex);
- /* try to merge extents to the left */
/* time to correct all indexes above */
err = ext4_ext_correct_indexes(handle, inode, path);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] change a comment on fs/ext4/extents.c
2012-06-19 15:35 [PATCH] change a comment on fs/ext4/extents.c haiboliu6
@ 2012-06-20 15:51 ` Zheng Liu
2012-06-21 18:14 ` Haibo
1 sibling, 0 replies; 3+ messages in thread
From: Zheng Liu @ 2012-06-20 15:51 UTC (permalink / raw)
To: haiboliu6; +Cc: linux-ext4
Hi Haibo,
If your patch only relates to ext4, please change the patch's subject
like this:
[PATCH] ext4: change a comment on fs/ext4/extents.c
On Tue, Jun 19, 2012 at 11:35:47PM +0800, haiboliu6@gmail.com wrote:
> From: HaiboLiu <HaiboLiu6@gmail.com>
>
> May be it's better.
Maybe the following commit log is better:
In this patch (197217a5), ext4_ext_try_to_merge has been changed to
merge an extent both left and right. So we need to update the comment
in here.
Regards,
Zheng
>
> Signed-off-by: HaiboLiu <HaiboLiu6@gmail.com>
> ---
> fs/ext4/extents.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
> index 74f23c2..db671b9 100644
> --- a/fs/ext4/extents.c
> +++ b/fs/ext4/extents.c
> @@ -1807,11 +1807,10 @@ has_space:
> nearex->ee_len = newext->ee_len;
>
> merge:
> - /* try to merge extents to the right */
> + /* try to merge extents */
> if (!(flag & EXT4_GET_BLOCKS_PRE_IO))
> ext4_ext_try_to_merge(inode, path, nearex);
>
> - /* try to merge extents to the left */
>
> /* time to correct all indexes above */
> err = ext4_ext_correct_indexes(handle, inode, path);
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re:[PATCH] change a comment on fs/ext4/extents.c
2012-06-19 15:35 [PATCH] change a comment on fs/ext4/extents.c haiboliu6
2012-06-20 15:51 ` Zheng Liu
@ 2012-06-21 18:14 ` Haibo
1 sibling, 0 replies; 3+ messages in thread
From: Haibo @ 2012-06-21 18:14 UTC (permalink / raw)
To: linux-ext4, gnehzuil.liu; +Cc: haiboliu6
> Hi Haibo,
>
> If your patch only relates to ext4, please change the patch's subject
> like this:
> [PATCH] ext4: change a comment on fs/ext4/extents.c
>
> On Tue, Jun 19, 2012 at 11:35:47PM +0800, haiboliu6@gmail.com wrote:
> > From: HaiboLiu <HaiboLiu6@gmail.com>
> >
> > May be it's better.
>
> Maybe the following commit log is better:
> In this patch (197217a5), ext4_ext_try_to_merge has been changed to
> merge an extent both left and right. So we need to update the comment
> in here.
>
> Regards,
> Zheng
>
> >
> > Signed-off-by: HaiboLiu <HaiboLiu6@gmail.com>
> > ---
> > fs/ext4/extents.c | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
> > index 74f23c2..db671b9 100644
> > --- a/fs/ext4/extents.c
> > +++ b/fs/ext4/extents.c
> > @@ -1807,11 +1807,10 @@ has_space:
> > nearex->ee_len = newext->ee_len;
> >
> > merge:
> > - /* try to merge extents to the right */
> > + /* try to merge extents */
> > if (!(flag & EXT4_GET_BLOCKS_PRE_IO))
> > ext4_ext_try_to_merge(inode, path, nearex);
> >
> > - /* try to merge extents to the left */
> >
> > /* time to correct all indexes above */
> > err = ext4_ext_correct_indexes(handle, inode, path);
> > --
> > 1.7.9.5
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks for your suggestion. I update the patch subject and the patch comment and resend it.
Regards,
Haibo Liu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-21 18:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-19 15:35 [PATCH] change a comment on fs/ext4/extents.c haiboliu6
2012-06-20 15:51 ` Zheng Liu
2012-06-21 18:14 ` Haibo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).