On 10/22/21 2:15 AM, Stephen Rothwell wrote:
Hi all, Changes since 20211021:
on i386 or x86_64: Lots of errors referring to sched->plug when CONFIG_BLOCK is not set. E.g.: ../kernel/sched/core.c: In function ‘io_schedule_prepare’: ../kernel/sched/core.c:8331:13: error: ‘struct task_struct’ has no member named ‘plug’ if (current->plug) ^~ ../kernel/sched/core.c:8332:25: error: ‘struct task_struct’ has no member named ‘plug’ blk_flush_plug(current->plug, true); ^~ ../fs/fs-writeback.c: In function ‘writeback_sb_inodes’: ../fs/fs-writeback.c:1896:15: error: ‘struct task_struct’ has no member named ‘plug’ if (current->plug) ^~ ../fs/fs-writeback.c:1897:27: error: ‘struct task_struct’ has no member named ‘plug’ blk_flush_plug(current->plug, false); ^~ CC arch/x86/kernel/cpu/capflags.o ../fs/fs-writeback.c: In function ‘wakeup_flusher_threads’: ../fs/fs-writeback.c:2295:25: error: ‘struct task_struct’ has no member named ‘plug’ blk_flush_plug(current->plug, true); ^~ -- ~Randy