Keep the op-specific flag last so that they are clearly separate from the generic flags. Various recent commits just kept adding new flags at the end.
Unified · Split
| @@ -408,16 +408,17 @@ enum req_flag_bits { · 407 unmodified lines | ||
| 408 | 408 | * work item to avoid such priority inversions. |
| 409 | 409 | */ |
| 410 | 410 | __REQ_CGROUP_PUNT, |
| 411 | − | |
| 412 | − /* command specific flags for REQ_OP_WRITE_ZEROES: */ | |
| 413 | − __REQ_NOUNMAP, /* do not free blocks when zeroing */ | |
| 414 | − | |
| 415 | 411 | __REQ_POLLED, /* caller polls for completion using bio_poll */ |
| 416 | 412 | __REQ_ALLOC_CACHE, /* allocate IO from cache if available */ |
| 413 | + __REQ_SWAP, /* swap I/O */ | |
| 414 | + __REQ_DRV, /* for driver use */ | |
| 415 | + | |
| 416 | + /* | |
| 417 | + * Command specific flags, keep last: | |
| 418 | + */ | |
| 419 | + /* for REQ_OP_WRITE_ZEROES: */ | |
| 420 | + __REQ_NOUNMAP, /* do not free blocks when zeroing */ | |
| 417 | 421 | |
| 418 | − /* for driver use */ | |
| 419 | − __REQ_DRV, | |
| 420 | − __REQ_SWAP, /* swapping request. */ | |
| 421 | 422 | __REQ_NR_BITS, /* stops here */ |
| 422 | 423 | }; |
| 423 | 424 | |