History

block: move set_task_ioprio to blk-ioc.c

Keep set_task_ioprio with the other low-level code that accesses the io_context structure.

Christoph Hellwig committed 4 years ago

Commit a411cd31 parent 091abcb3 files · +32 −36Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/iocontext.h+0−2
@@ -116,8 +116,6 @@ struct task_struct; · 115 unmodified lines
116#ifdef CONFIG_BLOCK116#ifdef CONFIG_BLOCK
117void put_io_context(struct io_context *ioc);117void put_io_context(struct io_context *ioc);
118void exit_io_context(struct task_struct *task);118void exit_io_context(struct task_struct *task);
119struct io_context *get_task_io_context(struct task_struct *task,
120 gfp_t gfp_flags, int node);
121int __copy_io(unsigned long clone_flags, struct task_struct *tsk);119int __copy_io(unsigned long clone_flags, struct task_struct *tsk);
122static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk)120static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk)
123{121{

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t