OSDN Git Service

block: pass page to xen_biovec_phys_mergeable
authorMing Lei <ming.lei@redhat.com>
Fri, 29 Mar 2019 07:07:54 +0000 (15:07 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Apr 2019 18:11:13 +0000 (12:11 -0600)
commit0383ad4374f7ad7edd925a2ee4753035c3f5508a
tree9c79f466839188b74a3a69e2c3f87b806800188d
parent56a85fd8376ef32458efb6ea97a820754e12f6bb
block: pass page to xen_biovec_phys_mergeable

xen_biovec_phys_mergeable() only needs .bv_page of the 2nd bio bvec
for checking if the two bvecs can be merged, so pass page to
xen_biovec_phys_mergeable() directly.

No function change.

Cc: ris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: xen-devel@lists.xenproject.org
Cc: Omar Sandoval <osandov@fb.com>
Cc: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk.h
drivers/xen/biomerge.c
include/xen/xen.h