Re: [PATCH 04/17] block: split bio_kmalloc from bio_alloc_bioset

From
Christoph Hellwig <hch@lst.de>
Date
2021-02-01 12:23:09
Also in
dm-devel, linux-bcache, linux-block, linux-btrfs, linux-f2fs-devel, linux-fsdevel, linux-mm, linux-nfs
Reply to
Matthew Wilcox, 2021-01-30
On Sat, Jan 30, 2021 at 03:56:46AM +0000, Matthew Wilcox wrote:
On Tue, Jan 26, 2021 at 03:52:34PM +0100, Christoph Hellwig wrote:
quoted
bio_kmalloc shares almost no logic with the bio_set based fast path
in bio_alloc_bioset.  Split it into an entirely separate implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/bio.c         | 167 ++++++++++++++++++++++----------------------
 include/linux/bio.h |   6 +-
 2 files changed, 86 insertions(+), 87 deletions(-)
This patch causes current linux-next to OOM for me when running xfstests
after about ten minutes.  Haven't looked into why yet, this is just the
results of a git bisect.
I've run tests on linux-next all weekend and could not reproduce
the issue.  Can you share your .config?
Thread (37 messages) 37 messages, 12 authors, last reply 2021-02-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help