SCSI fixes on 20240429

Minor core fix to prevent the sd driver printing the stream count
every time we rescan and instead print only if it's changed

Signed-off-by: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
scsi: sd: Only print updates to permanent stream count

Just rescanning a partition causes a print similar to the following to
appear:

[    1.484964] sd 0:0:0:0: [sda] permanent stream count = 5

This is bothersome, so only print this message for an update.

Fixes: 4f53138fffc2 ("scsi: sd: Translate data lifetime information")
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240412094407.496251-1-john.g.garry@oracle.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 file changed