History

block: add support for write hints in a bio

No functional changes in this patch, we just use up some holes in the bio and request structures to define a write hint that we psas down the stack. Ensure that we don't merge requests that have different life time hints assigned to them, and that we inherit the write hint when cloning a bio.

Jens Axboe committed 9 years ago

Commit cb6934f1 parent c75b1d95 files · +20 −0Browse files

Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all

Unified · Split

include/linux/blkdev.h+2−0
@@ -225,6 +225,8 @@ struct request { · 224 unmodified lines
225 225
226 unsigned int extra_len; /* length of alignment and padding */226 unsigned int extra_len; /* length of alignment and padding */
227 227
228 unsigned short write_hint;
229
228 unsigned long deadline;230 unsigned long deadline;
229 struct list_head timeout_list;231 struct list_head timeout_list;
230 232

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