Thanks My point was to understand if this action was taken by BTRFS or automously by scsi. >From your word it seems clear to me that this should go in KERNEL_DEBUG level, instead of KERNEL_NOTICE Bye
2018-03-02 16:18 GMT+01:00 David Sterba <dste...@suse.cz>: > On Fri, Mar 02, 2018 at 12:37:49PM +0100, Menion wrote: >> Is it really a no problem? I mean, for some reason BTRFS is >> continuously read the HDD capacity in an array, that does not seem to >> be really correct > > The message comes from SCSI: > https://elixir.bootlin.com/linux/latest/source/drivers/scsi/sd.c#L2508 > > Reading drive capacity could be totally opaque for the filesystem, eg. > when the scsi layer compares the requested block address with the device > size. > > The sizes of blockdevices is obtained from the i_size member of the > inode representing the block device, so there's no direct read by btrfs. > You'd have better luck reporting that to scsi or block layer > mailinglists. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html