2021-06-03 14:55:12

by David Sterba

[permalink] [raw]
Subject: [GIT PULL] Btrfs fixes for 5.13-rc5

Hi,

this is a batch from last week, I wanted to give it more testing because
last pull request introduced a bug, interacting zoned and subpage
features. Otherwise there are error handling improvements and bug
fixes. The last commit is from today, adding IRC link to maintainers
file.

Please pull, thanks.

- error handling improvements, caught by error injection
- handle errors during checksum deletion
- set error on mapping when ordered extent io cannot be finished
- inode link count fixup in tree-log
- missing return value checks for inode updates in tree-log
- abort transaction in rename exchange if adding second reference fails

- fixes
- fix fsync failure after writes to prealloc extents
- fix deadlock when cloning inline extents and low on available space
- fix compressed writes that cross stripe boundary

----------------------------------------------------------------
The following changes since commit 764c7c9a464b68f7c6a5a9ec0b923176a05e8e8f:

btrfs: zoned: fix parallel compressed writes (2021-05-20 15:51:07 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.13-rc4-tag

for you to fetch changes up to 503d1acb01826b42e5afb496dfcc32751bec9478:

MAINTAINERS: add btrfs IRC link (2021-06-03 15:40:38 +0200)

----------------------------------------------------------------
David Sterba (1):
MAINTAINERS: add btrfs IRC link

Filipe Manana (2):
btrfs: fix fsync failure and transaction abort after writes to prealloc extents
btrfs: fix deadlock when cloning inline extents and low on available space

Josef Bacik (6):
btrfs: fix error handling in btrfs_del_csums
btrfs: return errors from btrfs_del_csums in cleanup_ref_head
btrfs: mark ordered extent and inode with error if we fail to finish
btrfs: fixup error handling in fixup_inode_link_counts
btrfs: check error value from btrfs_update_inode in tree log
btrfs: abort in rename_exchange if we fail to insert the second ref

Qu Wenruo (1):
btrfs: fix compressed writes that cross stripe boundary

MAINTAINERS | 1 +
fs/btrfs/compression.c | 17 +++++---
fs/btrfs/extent-tree.c | 2 +-
fs/btrfs/file-item.c | 108 ++++++++++++++++++++++++++++++++++++-------------
fs/btrfs/inode.c | 19 ++++++++-
fs/btrfs/reflink.c | 38 +++++++++--------
fs/btrfs/tree-log.c | 21 ++++++----
7 files changed, 148 insertions(+), 58 deletions(-)


2021-06-03 19:11:44

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Btrfs fixes for 5.13-rc5

The pull request you sent on Thu, 3 Jun 2021 16:50:15 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.13-rc4-tag

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fd2ff2774e90a0ba58f1158d7ea095af51f31644

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

2021-06-04 01:19:21

by Naohiro Aota

[permalink] [raw]
Subject: Re: [GIT PULL] Btrfs fixes for 5.13-rc5

On Thu, Jun 03, 2021 at 04:50:15PM +0200, David Sterba wrote:
> Hi,
>
> this is a batch from last week, I wanted to give it more testing because
> last pull request introduced a bug, interacting zoned and subpage
> features. Otherwise there are error handling improvements and bug
> fixes. The last commit is from today, adding IRC link to maintainers
> file.
>
> Please pull, thanks.
>
> - error handling improvements, caught by error injection
> - handle errors during checksum deletion
> - set error on mapping when ordered extent io cannot be finished
> - inode link count fixup in tree-log
> - missing return value checks for inode updates in tree-log
> - abort transaction in rename exchange if adding second reference fails
>
> - fixes
> - fix fsync failure after writes to prealloc extents
> - fix deadlock when cloning inline extents and low on available space
> - fix compressed writes that cross stripe boundary
>

David,

Could you also add commit "btrfs: zoned: fix zone number to
sector/physical calculation" for pull? Without this commit, on a
device larger than 4 TB, zoned btrfs will overwrite the primary
superblock with the 2nd copy and causes a mount failure after the
first mount/umount.

https://lore.kernel.org/linux-btrfs/[email protected]/

Thanks,

2021-06-04 11:15:41

by David Sterba

[permalink] [raw]
Subject: Re: [GIT PULL] Btrfs fixes for 5.13-rc5

On Fri, Jun 04, 2021 at 10:17:07AM +0900, Naohiro Aota wrote:
> Could you also add commit "btrfs: zoned: fix zone number to
> sector/physical calculation" for pull? Without this commit, on a
> device larger than 4 TB, zoned btrfs will overwrite the primary
> superblock with the 2nd copy and causes a mount failure after the
> first mount/umount.

Yeah, a few more fixes plus that one are in queue for the next pull.