Commit 961990e
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: 4f53138 ("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 parent ca91259 commit 961990e
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3120 | 3120 | | |
3121 | 3121 | | |
3122 | 3122 | | |
| 3123 | + | |
3123 | 3124 | | |
3124 | 3125 | | |
3125 | 3126 | | |
| |||
3140 | 3141 | | |
3141 | 3142 | | |
3142 | 3143 | | |
| 3144 | + | |
3143 | 3145 | | |
3144 | 3146 | | |
3145 | 3147 | | |
3146 | 3148 | | |
3147 | 3149 | | |
3148 | | - | |
| 3150 | + | |
3149 | 3151 | | |
3150 | 3152 | | |
3151 | 3153 | | |
| |||
0 commit comments