RE: xhci-hcd (millions of) "Too many fragments" error on LUKS-encrypted device

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

 



From: Sascha Weaver [mailto:wzyboy@xxxxxxxxxx]
...
> The patches, they both do their jobs: the first does not fix the bug
> but "Too many fragments" error messages are limited to just one line.
> The second patch does fix the bug, great. I can see it changes two
> more lines in xhci.c. What's its advantage over just changing "64" to
> "256" in xhci.h (suggestion by David, which works as well)?

Changing the 64 to 256 lets requests with 63 to 255 fragments complete.
The other changes tell the higher layers how many fragments are supported
- so should stop them sending too many fragments.

Since the disk code wants to send these long fragments, and the larger
rings cost almost nothing (still less than 4k for each ring) it is
worth increasing the ring size as well as telling the higher layers
about the limit.

I also suspect no one is 100% sure the advertised limit will be observed.

	David

��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux