Skip to contentSkip to conversation

linux-next: build failure after merge of the block tree

PATCH Stephen Rothwell 3 participants 3 messages Jul 11, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the block tree, today's linux-next build (x86_64 allmodconfig) failed like this:

fs/f2fs/data.c: In function 'f2fs_merge_page_bio':
fs/f2fs/data.c:516:3: error: implicit declaration of function 'wbc_account_io'; did you mean 'blk_account_rq'? [-Werror=implicit-function-declaration]
wbc_account_io(fio->io_wbc, page, PAGE_SIZE);
^~~~~~~~~~~~~~
blk_account_rq

Caused by commit

34e51a5e1a6e ("blkcg, writeback: Rename wbc_account_io() to wbc_account_cgroup_owner()")

interacting with commit

8648de2c581e ("f2fs: add bio cache for IPU")

from the f2fs tree.

I added the following merge fix patch or today:

From: Stephen Rothwell <[email protected]>
Date: Thu, 11 Jul 2019 15:13:21 +1000
Subject: [PATCH] f2fs: fix for wbc_account_io rename

---
 fs/f2fs/data.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/data.c +1 -1
index 323306630f93..4eb2f3920140 100644
@@ -513,7 +513,7 @@ int f2fs_merge_page_bio(struct f2fs_io_info *fio)
 	}
 
 	if (fio->io_wbc)
-		wbc_account_io(fio->io_wbc, page, PAGE_SIZE);
+		wbc_account_cgroup_owner(fio->io_wbc, page, PAGE_SIZE);
 
 	inc_page_count(fio->sbi, WB_DATA_TYPE(page));
 
Signature · 5 lines
2.20.1

-- 
Cheers,
Stephen Rothwell
Acked-by
#1 lore raw

Hello,

Yeah, my patche series raced with 8648de2c581e ("f2fs: add bio cache for IPU"). Jens, can you please apply this one too?

Quoted 14 lines · Stephen Rothwell

From: Stephen Rothwell <[email protected]>
Date: Thu, 11 Jul 2019 15:13:21 +1000
Subject: [PATCH] f2fs: fix for wbc_account_io rename

---
 fs/f2fs/data.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/f2fs/data.c +0 -0
index 323306630f93..4eb2f3920140 100644

fs/f2fs/data.c int f2fs_merge_page_bio(struct f2fs_io_info *fio) · line 516

Quoted 5 lines
fs/f2fs/data.c +1 -1
@@ -513,7 +513,7 @@ int f2fs_merge_page_bio(struct f2fs_io_info *fio)
 	}
 
 	if (fio->io_wbc)
-		wbc_account_io(fio->io_wbc, page, PAGE_SIZE);
+		wbc_account_cgroup_owner(fio->io_wbc, page, PAGE_SIZE);

Thanks.

Signature · 1 line
tejun
#2 lore raw
Quoted 4 lines · Tejun Heo

Hello,

Yeah, my patche series raced with 8648de2c581e ("f2fs: add bio cache for IPU"). Jens, can you please apply this one too?

I can't really, as that commit isn't in Linus's tree yet. I'll keep an eye out for what hits mainline, I'll probably ship what I have on Monday.

Signature · 1 line
Jens Axboe