]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: scsi_debug: Add environmental reporting log subpage
authorDouglas Gilbert <dgilbert@interlog.com>
Sun, 9 Jan 2022 01:28:53 +0000 (20:28 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 25 Jan 2022 05:27:23 +0000 (00:27 -0500)
commitd40a801e2a0681164e23a75aa69378b166653c8b
treeb5f8d9db9d400c43832ea483181536ea437b4b8a
parent9463483868f5b4a62b62b0677f17662fffe3272c
scsi: scsi_debug: Add environmental reporting log subpage

Log subpages are starting to appear in real devices (e.g. SSDs) so add
support for one. Adopt approach where all "wild" sub-pages are themselves
listed as long as there is at least one non-wild page or subpage for a
given page number.

Link: https://lore.kernel.org/r/20220109012853.301953-10-dgilbert@interlog.com
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c