* [PATCH] ext3/4: remove some unnecessary comments [not found] <1393521230-3254-1-git-send-email-zhenzhang.zhang@huawei.com> @ 2014-02-27 9:26 ` ZhangZhen 2014-02-27 11:44 ` Lukáš Czerner 0 siblings, 1 reply; 3+ messages in thread From: ZhangZhen @ 2014-02-27 9:26 UTC (permalink / raw) To: jack, tytso; +Cc: linux-ext4 The comments in the code are unnecessary, because every generic_file_write() is replaced by generic_file_aio_write(). Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com> --- fs/ext3/inode.c | 4 ---- fs/ext4/inode.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index 384b6eb..e08c2eb 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c @@ -3212,10 +3212,6 @@ out_brelse: * * We are called from a few places: * - * - Within generic_file_write() for O_SYNC files. - * Here, there will be no transaction running. We wait for any running - * transaction to commit. - * * - Within sys_sync(), kupdate and such. * We wait on commit, if tol to. * diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 6e39895..5ef32f0 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -4399,10 +4399,6 @@ out_brelse: * * We are called from a few places: * - * - Within generic_file_write() for O_SYNC files. - * Here, there will be no transaction running. We wait for any running - * transaction to commit. - * * - Within sys_sync(), kupdate and such. * We wait on commit, if tol to. * -- 1.8.1.4 . ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ext3/4: remove some unnecessary comments 2014-02-27 9:26 ` [PATCH] ext3/4: remove some unnecessary comments ZhangZhen @ 2014-02-27 11:44 ` Lukáš Czerner 2014-02-28 2:46 ` ZhangZhen 0 siblings, 1 reply; 3+ messages in thread From: Lukáš Czerner @ 2014-02-27 11:44 UTC (permalink / raw) To: ZhangZhen; +Cc: jack, tytso, linux-ext4 On Thu, 27 Feb 2014, ZhangZhen wrote: > Date: Thu, 27 Feb 2014 17:26:09 +0800 > From: ZhangZhen <zhenzhang.zhang@huawei.com> > To: jack@suse.cz, tytso@mit.edu > Cc: linux-ext4@vger.kernel.org > Subject: [PATCH] ext3/4: remove some unnecessary comments > > The comments in the code are unnecessary, because every generic_file_write() > is replaced by generic_file_aio_write(). I am sorry I do not understand. Is it unnecessary or wrong ? If it's wrong why it is wrong ? Your description suggests that this should be changed to mention generic_file_aio_write() rather than generic_file_write(). Thanks! -Lukas > > Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com> > --- > fs/ext3/inode.c | 4 ---- > fs/ext4/inode.c | 4 ---- > 2 files changed, 8 deletions(-) > > diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c > index 384b6eb..e08c2eb 100644 > --- a/fs/ext3/inode.c > +++ b/fs/ext3/inode.c > @@ -3212,10 +3212,6 @@ out_brelse: > * > * We are called from a few places: > * > - * - Within generic_file_write() for O_SYNC files. > - * Here, there will be no transaction running. We wait for any running > - * transaction to commit. > - * > * - Within sys_sync(), kupdate and such. > * We wait on commit, if tol to. > * > diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c > index 6e39895..5ef32f0 100644 > --- a/fs/ext4/inode.c > +++ b/fs/ext4/inode.c > @@ -4399,10 +4399,6 @@ out_brelse: > * > * We are called from a few places: > * > - * - Within generic_file_write() for O_SYNC files. > - * Here, there will be no transaction running. We wait for any running > - * transaction to commit. > - * > * - Within sys_sync(), kupdate and such. > * We wait on commit, if tol to. > * > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ext3/4: remove some unnecessary comments 2014-02-27 11:44 ` Lukáš Czerner @ 2014-02-28 2:46 ` ZhangZhen 0 siblings, 0 replies; 3+ messages in thread From: ZhangZhen @ 2014-02-28 2:46 UTC (permalink / raw) To: Lukáš Czerner; +Cc: Li Zefan, linux-ext4 On 2014/2/27 19:44, Lukáš Czerner wrote: > On Thu, 27 Feb 2014, ZhangZhen wrote: > >> Date: Thu, 27 Feb 2014 17:26:09 +0800 >> From: ZhangZhen <zhenzhang.zhang@huawei.com> >> To: jack@suse.cz, tytso@mit.edu >> Cc: linux-ext4@vger.kernel.org >> Subject: [PATCH] ext3/4: remove some unnecessary comments >> >> The comments in the code are unnecessary, because every generic_file_write() >> is replaced by generic_file_aio_write(). > > I am sorry I do not understand. Is it unnecessary or wrong ? If it's > wrong why it is wrong ? > > Your description suggests that this should be changed to mention > generic_file_aio_write() rather than generic_file_write(). > > Thanks! > -Lukas > Thanks for reviewing! Here should be changed to mention generic_file_aio_write() rather than generic_file_write(). I will modify this patch for V2. >> >> Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com> >> --- >> fs/ext3/inode.c | 4 ---- >> fs/ext4/inode.c | 4 ---- >> 2 files changed, 8 deletions(-) >> >> diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c >> index 384b6eb..e08c2eb 100644 >> --- a/fs/ext3/inode.c >> +++ b/fs/ext3/inode.c >> @@ -3212,10 +3212,6 @@ out_brelse: >> * >> * We are called from a few places: >> * >> - * - Within generic_file_write() for O_SYNC files. >> - * Here, there will be no transaction running. We wait for any running >> - * transaction to commit. >> - * >> * - Within sys_sync(), kupdate and such. >> * We wait on commit, if tol to. >> * >> diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c >> index 6e39895..5ef32f0 100644 >> --- a/fs/ext4/inode.c >> +++ b/fs/ext4/inode.c >> @@ -4399,10 +4399,6 @@ out_brelse: >> * >> * We are called from a few places: >> * >> - * - Within generic_file_write() for O_SYNC files. >> - * Here, there will be no transaction running. We wait for any running >> - * transaction to commit. >> - * >> * - Within sys_sync(), kupdate and such. >> * We wait on commit, if tol to. >> * >> > > -- 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
end of thread, other threads:[~2014-02-28 2:47 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1393521230-3254-1-git-send-email-zhenzhang.zhang@huawei.com> 2014-02-27 9:26 ` [PATCH] ext3/4: remove some unnecessary comments ZhangZhen 2014-02-27 11:44 ` Lukáš Czerner 2014-02-28 2:46 ` ZhangZhen
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.