Pull core block updates from Jens Axboe: "This may be the most quiet round we've had in years. I'm not complaining. Really not a lot to detail here, outside of spelling and documentation improvements/fixes, we have: - Allow t10-pi to be modular (Herbert) - Remove dead code in bfq (Alex) - Mark zone management requests with REQ_SYNC (Chaitanya) - BFQ division improvement (Wen) - Small series improving plugging (Pavel)" * tag 'for-5.6/block-2020-01-27' of git://git.kernel.dk/linux-block: partitions/ldm: fix spelling mistake "to" -> "too" block, bfq: improve arithmetic division in bfq_delta() block/bfq: remove unused bfq_class_rt which never used block: mark zone-mgmt bios with REQ_SYNC blk-mq: Document functions for sending request block: Allow t10-pi to be modular blk-mq: optimise blk_mq_flush_plug_list() list: introduce list_for_each_continue() blk-mq: optimise rq sort function
Showing the changes to include/linux (1 of 11 files). Show all
Unified · Split
| @@ -538,6 +538,16 @@ static inline void list_splice_tail_init(struct list_head *list, · 537 unmodified lines | |||
| 538 | #define list_for_each(pos, head) \ | 538 | #define list_for_each(pos, head) \ |
| 539 | for (pos = (head)->next; pos != (head); pos = pos->next) | 539 | for (pos = (head)->next; pos != (head); pos = pos->next) |
| 540 | 540 | ||
| 541 | /** | ||
| 542 | * list_for_each_continue - continue iteration over a list | ||
| 543 | * @pos: the &struct list_head to use as a loop cursor. | ||
| 544 | * @head: the head for your list. | ||
| 545 | * | ||
| 546 | * Continue to iterate over a list, continuing after the current position. | ||
| 547 | */ | ||
| 548 | #define list_for_each_continue(pos, head) \ | ||
| 549 | for (pos = pos->next; pos != (head); pos = pos->next) | ||
| 550 | |||
| 541 | /** | 551 | /** |
| 542 | * list_for_each_prev - iterate over a list backwards | 552 | * list_for_each_prev - iterate over a list backwards |
| 543 | * @pos: the &struct list_head to use as a loop cursor. | 553 | * @pos: the &struct list_head to use as a loop cursor. |