History

block: remove the nr_task field from struct io_context

Nothing ever looks at ->nr_tasks, so remove it.

Christoph Hellwig committed 4 years ago

Commit 8a2ba171 parent d62cbcf2 files · +0 −4Browse files

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

Unified · Split

include/linux/iocontext.h+0−1
@@ -99,7 +99,6 @@ struct io_cq { · 98 unmodified lines
9999 struct io_context {
100100 atomic_long_t refcount;
101101 atomic_t active_ref;
102− atomic_t nr_tasks;
103102
104103 /* all the fields below are protected by this lock */
105104 spinlock_t lock;

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