Re: [PATCH] btrfs: don't warn if discard range is not aligned to sector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16.01.24 16:54, David Sterba wrote:
> 
> I don't know if we should warn here at all, the warning is there since
> 2015 and only now we see it triggered, I guess everybody sane using the
> discard interface uses proper values. Warning level means that it needs
> user attention that something is wrong and take some action or examine
> the system.
> 
> The discard range could be verified at the beginning of the ioctl, but
> printing it here is a bit late. I've checked xfs and it silently rounds
> down the start and offset the same way, I find this sufficient thing to
> do.
> 

Yeah thenm lets do it this way,
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux