scsi: scsi_debug: Allocate the MODE SENSE response from the heap
authorBart Van Assche <bvanassche@acm.org>
Tue, 30 Jan 2024 21:48:42 +0000 (13:48 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 27 Feb 2024 02:37:26 +0000 (21:37 -0500)
commitb952eb270df38bc0d930a1ef965666ecf54a2097
treefdc9166d993c8651a394343ea68c12463ee780cc
parentf19c3e4fe2542d7b145d294386666958c9fabe17
scsi: scsi_debug: Allocate the MODE SENSE response from the heap

Make the MODE SENSE response buffer larger and allocate it from the heap.
This patch prepares for adding support for the IO Advice Hints Grouping
mode page.

Suggested-by: Douglas Gilbert <dgilbert@interlog.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240130214911.1863909-17-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c