linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] block: two fixes on avoiding bio splitting
@ 2019-11-08 10:15 Ming Lei
  2019-11-08 10:15 ` [PATCH 1/2] block: still try to split bio if the bvec crosses pages Ming Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ming Lei @ 2019-11-08 10:15 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Ming Lei, Christoph Hellwig

Hi,

The 1st patch fixes kernel panic issue which is caused by not
splitting bio.

The 2nd patch requets to change the limit as SZ_4K instead of
PAGE_SIZE which can be big enough to break some devies.

Thanks,

Ming Lei (2):
  block: still try to split bio if the bvec crosses pages
  block: split bio if the only bvec's length is > SZ_4K

 block/blk-merge.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Cc: Christoph Hellwig <hch@lst.de>

-- 
2.20.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-11 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 10:15 [PATCH 0/2] block: two fixes on avoiding bio splitting Ming Lei
2019-11-08 10:15 ` [PATCH 1/2] block: still try to split bio if the bvec crosses pages Ming Lei
2019-11-08 10:15 ` [RFC PATCH 2/2] block: split bio if the only bvec's length is > SZ_4K Ming Lei
2019-11-11 10:21   ` Christoph Hellwig
2019-11-08 14:00 ` [PATCH 0/2] block: two fixes on avoiding bio splitting Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).