blk-merge.c (0f69403d2535ffc7200a8414cf3ca66a49b0d741) | blk-merge.c (f3bdc62fd82ed93dbe4d049eacba310de7eb2a6a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Functions related to segment and merge handling 4 */ 5#include <linux/kernel.h> 6#include <linux/module.h> 7#include <linux/bio.h> 8#include <linux/blkdev.h> --- 779 unchanged lines hidden (view full) --- 788 if (!blk_discard_mergable(req)) 789 elv_merge_requests(q, req, next); 790 791 /* 792 * 'next' is going away, so update stats accordingly 793 */ 794 blk_account_io_merge_request(next); 795 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Functions related to segment and merge handling 4 */ 5#include <linux/kernel.h> 6#include <linux/module.h> 7#include <linux/bio.h> 8#include <linux/blkdev.h> --- 779 unchanged lines hidden (view full) --- 788 if (!blk_discard_mergable(req)) 789 elv_merge_requests(q, req, next); 790 791 /* 792 * 'next' is going away, so update stats accordingly 793 */ 794 blk_account_io_merge_request(next); 795 |
796 trace_block_rq_merge(q, next); 797 |
|
796 /* 797 * ownership of bio passed from next to req, return 'next' for 798 * the caller to free 799 */ 800 next->bio = NULL; 801 return next; 802} 803 --- 86 unchanged lines hidden --- | 798 /* 799 * ownership of bio passed from next to req, return 'next' for 800 * the caller to free 801 */ 802 next->bio = NULL; 803 return next; 804} 805 --- 86 unchanged lines hidden --- |