]> www.infradead.org Git - users/hch/nvme-cli.git/commit
dynamically allocate log page buffers
authorChristoph Hellwig <hch@lst.de>
Fri, 23 Sep 2016 03:22:55 +0000 (20:22 -0700)
committerKeith Busch <keith.busch@intel.com>
Fri, 23 Sep 2016 14:40:25 +0000 (10:40 -0400)
commitbd0ad94fe89bf80d0e706afc57223d576f6dd129
tree93cd166cfccf0ee83729a8eca4da1c5d9225a4a4
parent1c415590877d5c8a6ab6d551fb2f043627d81858
dynamically allocate log page buffers

A device can report large logs.  Better dynamically allocate the buffer we
pass to the kernel instead of doing a gigantic stack allocation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
nvme.c