* next-20151021 - compile error in  fs/f2fs/checkpoint.c
@ 2015-10-21 18:05 Valdis Kletnieks
  2015-10-22  1:47 ` Chao Yu
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis Kletnieks @ 2015-10-21 18:05 UTC (permalink / raw)
  To: Chao Yu, Jaegeuk Kim, Changman Lee; +Cc: linux-f2fs-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
Building next-20151021 dies with this error:
  CC [M]  fs/f2fs/checkpoint.o
fs/f2fs/checkpoint.c: In function 'get_valid_checkpoint':
fs/f2fs/checkpoint.c:707:3: error: too few arguments to function 'ra_meta_pages'
   ra_meta_pages(sbi, cp_blk_no + 1, cp_blks - 1, META_CP);
   ^
fs/f2fs/checkpoint.c:143:5: note: declared here
 int ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
     ^
scripts/Makefile.build:258: recipe for target 'fs/f2fs/checkpoint.o' failed
make[2]: *** [fs/f2fs/checkpoint.o] Error 1
Looks like this commit:
commit 26879fb101f28c554294eaf25ac7817a2825b180
Author: Chao Yu <chao2.yu@samsung.com>
Date:   Mon Oct 12 17:05:59 2015 +0800
    f2fs: support lower priority asynchronous readahead in ra_meta_pages
missed updating one call.  Apparently this wasn't compile-tested before
being pushed upstream?
[-- Attachment #2: Type: application/pgp-signature, Size: 848 bytes --]
^ permalink raw reply	[flat|nested] 3+ messages in thread
* RE: next-20151021 - compile error in  fs/f2fs/checkpoint.c
  2015-10-21 18:05 next-20151021 - compile error in fs/f2fs/checkpoint.c Valdis Kletnieks
@ 2015-10-22  1:47 ` Chao Yu
  2015-10-22  3:06   ` Jaegeuk Kim
  0 siblings, 1 reply; 3+ messages in thread
From: Chao Yu @ 2015-10-22  1:47 UTC (permalink / raw)
  To: 'Valdis Kletnieks', 'Jaegeuk Kim',
	'Changman Lee'
  Cc: linux-f2fs-devel, linux-kernel
Hello,
> -----Original Message-----
> From: Valdis Kletnieks [mailto:Valdis.Kletnieks@vt.edu]
> Sent: Thursday, October 22, 2015 2:06 AM
> To: Chao Yu; Jaegeuk Kim; Changman Lee
> Cc: linux-f2fs-devel@lists.sourceforge.net; linux-kernel@vger.kernel.org
> Subject: next-20151021 - compile error in fs/f2fs/checkpoint.c
> 
> Building next-20151021 dies with this error:
> 
>   CC [M]  fs/f2fs/checkpoint.o
> fs/f2fs/checkpoint.c: In function 'get_valid_checkpoint':
> fs/f2fs/checkpoint.c:707:3: error: too few arguments to function 'ra_meta_pages'
>    ra_meta_pages(sbi, cp_blk_no + 1, cp_blks - 1, META_CP);
Above invoking is added in commit ("f2fs: readahead cp payload pages
when mount") at ~9/12/2015, but sadly it's complete wrong due to my fault,
so it is removed in our dev-test branch by Jaegeuk at ~9/26/2015. I can't
remember the time when this commit is removed from dev branch which is for
-next branch. I have checked next-20151022, this commit is gone, I think
the last -next will not make any trouble to you. Could you check that?
>    ^
> fs/f2fs/checkpoint.c:143:5: note: declared here
>  int ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
>      ^
> scripts/Makefile.build:258: recipe for target 'fs/f2fs/checkpoint.o' failed
> make[2]: *** [fs/f2fs/checkpoint.o] Error 1
> 
> Looks like this commit:
> 
> commit 26879fb101f28c554294eaf25ac7817a2825b180
> Author: Chao Yu <chao2.yu@samsung.com>
> Date:   Mon Oct 12 17:05:59 2015 +0800
> 
>     f2fs: support lower priority asynchronous readahead in ra_meta_pages
> 
> missed updating one call.  Apparently this wasn't compile-tested before
> being pushed upstream?
When this commit was updated in Jaegeuk's tree, above invoking in
fs/f2fs/checkpoint.c:707 was gone.
Thanks,
^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: next-20151021 - compile error in fs/f2fs/checkpoint.c
  2015-10-22  1:47 ` Chao Yu
@ 2015-10-22  3:06   ` Jaegeuk Kim
  0 siblings, 0 replies; 3+ messages in thread
From: Jaegeuk Kim @ 2015-10-22  3:06 UTC (permalink / raw)
  To: Chao Yu; +Cc: 'Valdis Kletnieks', linux-kernel, linux-f2fs-devel
On Thu, Oct 22, 2015 at 09:47:22AM +0800, Chao Yu wrote:
> Hello,
> 
> > -----Original Message-----
> > From: Valdis Kletnieks [mailto:Valdis.Kletnieks@vt.edu]
> > Sent: Thursday, October 22, 2015 2:06 AM
> > To: Chao Yu; Jaegeuk Kim; Changman Lee
> > Cc: linux-f2fs-devel@lists.sourceforge.net; linux-kernel@vger.kernel.org
> > Subject: next-20151021 - compile error in fs/f2fs/checkpoint.c
> > 
> > Building next-20151021 dies with this error:
> > 
> >   CC [M]  fs/f2fs/checkpoint.o
> > fs/f2fs/checkpoint.c: In function 'get_valid_checkpoint':
> > fs/f2fs/checkpoint.c:707:3: error: too few arguments to function 'ra_meta_pages'
> >    ra_meta_pages(sbi, cp_blk_no + 1, cp_blks - 1, META_CP);
> 
> Above invoking is added in commit ("f2fs: readahead cp payload pages
> when mount") at ~9/12/2015, but sadly it's complete wrong due to my fault,
> so it is removed in our dev-test branch by Jaegeuk at ~9/26/2015. I can't
> remember the time when this commit is removed from dev branch which is for
> -next branch. I have checked next-20151022, this commit is gone, I think
> the last -next will not make any trouble to you. Could you check that?
At least, now f2fs for -next contains a fixed patch.
Thanks,
> 
> >    ^
> > fs/f2fs/checkpoint.c:143:5: note: declared here
> >  int ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
> >      ^
> > scripts/Makefile.build:258: recipe for target 'fs/f2fs/checkpoint.o' failed
> > make[2]: *** [fs/f2fs/checkpoint.o] Error 1
> > 
> > Looks like this commit:
> > 
> > commit 26879fb101f28c554294eaf25ac7817a2825b180
> > Author: Chao Yu <chao2.yu@samsung.com>
> > Date:   Mon Oct 12 17:05:59 2015 +0800
> > 
> >     f2fs: support lower priority asynchronous readahead in ra_meta_pages
> > 
> > missed updating one call.  Apparently this wasn't compile-tested before
> > being pushed upstream?
> 
> When this commit was updated in Jaegeuk's tree, above invoking in
> fs/f2fs/checkpoint.c:707 was gone.
> 
> Thanks,
------------------------------------------------------------------------------
^ permalink raw reply	[flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-22  3:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-21 18:05 next-20151021 - compile error in fs/f2fs/checkpoint.c Valdis Kletnieks
2015-10-22  1:47 ` Chao Yu
2015-10-22  3:06   ` Jaegeuk Kim
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).