linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.com>
To: torvalds@linux-foundation.org
Cc: David Sterba <dsterba@suse.com>,
	clm@fb.com, linux-btrfs@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] Btrfs fix for 5.1-rc7
Date: Fri, 26 Apr 2019 13:20:36 +0200	[thread overview]
Message-ID: <cover.1556276662.git.dsterba@suse.com> (raw)

Hi,

one patch to fix a crash in io submission path, due to memory allocation
errors. In short, the multipage bio work that landed in 5.1 caused
larger bios that in turn require larger temporary memory for checksums.
The patch is a workaround, we're going to rework the allocation so it
does not require the vmalloc fallback.

It took a while to identify that it's caused by patches in 5.1 and not a
patchset that did some changes in error handling in the code. I've
tested it on various memory/cpu combinations, it could hit OOM but does
not crash.

The timestamp of the patch is less than a day due to updates in the
changelog, tests were running meanwhile.

Please pull, thanks.

----------------------------------------------------------------
The following changes since commit 272e5326c7837697882ce3162029ba893059b616:

  btrfs: prop: fix vanished compression property after failed set (2019-04-04 17:57:53 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.1-rc6-tag

for you to fetch changes up to a3d46aea46f99d134b4e0726e4826b824c3e5980:

  btrfs: Switch memory allocations in async csum calculation path to kvmalloc (2019-04-25 14:17:38 +0200)

----------------------------------------------------------------
Nikolay Borisov (1):
      btrfs: Switch memory allocations in async csum calculation path to kvmalloc

 fs/btrfs/file-item.c    | 15 +++++++++++----
 fs/btrfs/ordered-data.c |  3 ++-
 2 files changed, 13 insertions(+), 5 deletions(-)

             reply	other threads:[~2019-04-26 11:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-26 11:20 David Sterba [this message]
2019-04-26 16:50 ` [GIT PULL] Btrfs fix for 5.1-rc7 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1556276662.git.dsterba@suse.com \
    --to=dsterba@suse.com \
    --cc=clm@fb.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).