]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/grant-table: log the lack of grants
authorWengang Wang <wen.gang.wang@oracle.com>
Wed, 5 Jul 2017 17:42:41 +0000 (10:42 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 9 Jul 2017 00:22:08 +0000 (17:22 -0700)
commitc615845d22acca309ef4193308980e79725989d0
tree389642c26cce3ac9e5ac3d230d481b1895235cec
parentd0431763158dc63d8a72ce4d1e708ad682ad157a
xen/grant-table: log the lack of grants

Orabug: 26324349

log a message when we enter this situation:
1) we already allocated the max number of available grants from hypervisor
and
2) we still need more (but the request fails because of 1)).

Sometimes the lack of grants causes IO hangs in xen_blkfront devices.
Adding this log would help debuging.

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Junxiao Bi <junxiao.bi@oracle.com>
drivers/xen/grant-table.c