Re: [PATCH] mmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE

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

 



On Thu, Jul 11, 2024 at 08:17:47AM +0300, Adrian Hunter wrote:
> On 11/07/24 07:01, Christoph Hellwig wrote:
> > On Wed, Jul 10, 2024 at 09:07:37PM +0300, Adrian Hunter wrote:
> >> blk_queue_max_segment_size() ensured:
> >>
> >> 	if (max_size < PAGE_SIZE)
> >> 		max_size = PAGE_SIZE;
> > 
> > This is a bit misleading, as it also warned about it and papered over it
> > with the above as it had no way to return errors.  Any everyone seeing
> > these problems now ignored the warnings before, probably for years..
> 
> Was there a warning, since the message in blk_queue_max_segment_size()
> was:
> 
> 		pr_info("%s: set to minimum %u\n", __func__, max_size);

It stated out as a plain printk and became an info later, but yes,
not the big warning sign it was supposed to be.





[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux