On Tue, Mar 06, 2018 at 09:40:56AM +0100, Menion wrote:
> Hi all
> Operating big capacity HDD such 8TB with complex filesystems like
> BTRFS in RAID mode endup in dmesg get flooded by this log, due too
> many capacity checks (opaque to the filesystem itself)
> The logs come from here:
> 
> https://elixir.bootlin.com/linux/latest/source/drivers/scsi/sd.c#L2508
> 
> The general guideline tells that KERN_NOTICE (which is the default log
> level for dmesg in most distribution) should report information for
> any user interest
> I think that this information is not really of user interest, rather
> more of DEBUG interest
> So my suggestion is to lower this log to KERN_DEBUG
> Do you agree?

That warning and log level is correct, but maybe we can add a flag
so that we only print the warning once per device?

Reply via email to