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.
Showing the changes to include/linux/blkdev.h (1 of 5 files). Show all
Unified · Split
| @@ -225,6 +225,8 @@ struct request { · 224 unmodified lines | ||
| 225 | 225 | |
| 226 | 226 | unsigned int extra_len; /* length of alignment and padding */ |
| 227 | 227 | |
| 228 | + unsigned short write_hint; | |
| 229 | + | |
| 228 | 230 | unsigned long deadline; |
| 229 | 231 | struct list_head timeout_list; |
| 230 | 232 | |