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
225225
226226 unsigned int extra_len; /* length of alignment and padding */
227227
228+ unsigned short write_hint;
229+
228230 unsigned long deadline;
229231 struct list_head timeout_list;
230232

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