* [GIT PULL] Send fix for 4.9
@ 2016-10-14 21:54 fdmanana
2016-10-18 13:52 ` Chris Mason
0 siblings, 1 reply; 2+ messages in thread
From: fdmanana @ 2016-10-14 21:54 UTC (permalink / raw)
To: linux-btrfs; +Cc: clm, Filipe Manana
From: Filipe Manana <fdmanana@suse.com>
Hi Chris, please pull the following send fix for the 4.9 kernel.
Doing snapshots while balance is ongoing can result in file extent items whose
only difference between snapshots is their bytenr, which got replaced by the
relocation process, and the inode item does not get changed between the parent
and send snapshots (since nothing changed except the location of extent).
Prior to the 4.8 kernel, send would consider this a bug and we would hit a
BUG_ON(), but on 4.8 due to another change this made only send fail with -EIO
and log an error message, since the same can happen due to rare errors that can
occur when attempting to update an inode item after successfully updating its
extents.
This has been observed with some frequency on openSUSE and SLE boxes where
balance is triggered periodically by a cron job, snapshotting is triggered
before package installations/updates and snapper calls for incremental send
operations in no data mode.
Thanks.
The following changes since commit 19c4d2f994788a954af1aa7e53b0fdb46fd7925a:
Revert "btrfs: let btrfs_delete_unused_bgs() to clean relocated bgs" (2016-10-10 13:43:31 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/fdmanana/linux.git for-chris-4.9
for you to fetch changes up to d5e84fd8d0634d056248b67463b42f6c85896a19:
Btrfs: fix incremental send failure caused by balance (2016-10-12 10:41:01 +0100)
----------------------------------------------------------------
Filipe Manana (1):
Btrfs: fix incremental send failure caused by balance
fs/btrfs/send.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
--
2.7.0.rc3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] Send fix for 4.9
2016-10-14 21:54 [GIT PULL] Send fix for 4.9 fdmanana
@ 2016-10-18 13:52 ` Chris Mason
0 siblings, 0 replies; 2+ messages in thread
From: Chris Mason @ 2016-10-18 13:52 UTC (permalink / raw)
To: fdmanana, linux-btrfs; +Cc: Filipe Manana
On 10/14/2016 05:54 PM, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
>
> Hi Chris, please pull the following send fix for the 4.9 kernel.
Thanks Filipe, I've got this queued up for this week.
-chris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-18 13:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-14 21:54 [GIT PULL] Send fix for 4.9 fdmanana
2016-10-18 13:52 ` Chris Mason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox