ipe Manana
[Wrote changelog with example and more clear explanation]
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/send.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index ba
ipe Manana
[Wrote changelog with example and more clear explanation]
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/send.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index b0
ipe Manana
[Wrote changelog with example and more clear explanation]
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/send.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 83
ipe Manana
[Wrote changelog with example and more clear explanation]
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/send.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 79
ipe Manana
[Wrote changelog with example and more clear explanation]
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/send.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index ba
On Thu, Dec 06, 2018 at 06:55:19PM +0100, David Sterba wrote:
On Wed, Dec 05, 2018 at 04:34:44AM -0500, Sasha Levin wrote:
From: Robbie Ko
[ Upstream commit a4390aee72713d9e73f1132bcdeb17d72fbbf974 ]
...
Signed-off-by: Robbie Ko
Reviewed-by: Filipe Manana
[Wrote changelog with example
asted in again.
With this change, the value in stripe_size is not unnecessarily
destroyed, so the duplicated calculation is not needed any more.
Signed-off-by: Hans van Kranenburg
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 16 +++-
1 file chan
uot;)
Reviewed-by: Nikolay Borisov
Signed-off-by: Filipe Manana
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 39 +++
1 file changed, 23 insertions(+), 16 deletions(-)
diff --git a/fs/btrfs/volumes.c
the transaction, but still return the original code of the failure
stored in 'ret' as this will be reported to the user.
Signed-off-by: Johannes Thumshirn
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/inode.c | 7 ++-
1 file ch
g the transaction in btrfs_quote_enable(), will do the accounting.
Fixes: 6426c7ad697d ("btrfs: qgroup: Fix qgroup accounting when creating
snapshot")
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/qgroup.c | 14 ++
1 file change
uot;)
Reviewed-by: Nikolay Borisov
Signed-off-by: Filipe Manana
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 39 +++
1 file changed, 23 insertions(+), 16 deletions(-)
diff --git a/fs/btrfs/volumes.c
y: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/dev-replace.c | 63 +++---
1 file changed, 41 insertions(+), 22 deletions(-)
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c
index 981434764bb9..c26579d3f7b6 100644
--- a/fs/btrfs/dev-r
the transaction, but still return the original code of the failure
stored in 'ret' as this will be reported to the user.
Signed-off-by: Johannes Thumshirn
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/inode.c | 7 ++-
1 file ch
inux-btrfs/b3461a38-e5f8-f41d-c67c-2efac8129...@mendix.com/
Reported-by: Hans van Kranenburg
Signed-off-by: Qu Wenruo
[ add analysis from report ]
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/fs
asted in again.
With this change, the value in stripe_size is not unnecessarily
destroyed, so the duplicated calculation is not needed any more.
Signed-off-by: Hans van Kranenburg
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 16 +++-
1 file chan
y: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/dev-replace.c | 63 +++---
1 file changed, 41 insertions(+), 22 deletions(-)
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c
index 2aa48aecc52b..f6e9bf9f9a69 100644
--- a/fs/btrfs/dev-r
g the transaction in btrfs_quote_enable(), will do the accounting.
Fixes: 6426c7ad697d ("btrfs: qgroup: Fix qgroup accounting when creating
snapshot")
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/qgroup.c | 14 ++
1 file change
the transaction, but still return the original code of the failure
stored in 'ret' as this will be reported to the user.
Signed-off-by: Johannes Thumshirn
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/inode.c | 7 ++-
1 file ch
inux-btrfs/b3461a38-e5f8-f41d-c67c-2efac8129...@mendix.com/
Reported-by: Hans van Kranenburg
Signed-off-by: Qu Wenruo
[ add analysis from report ]
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/fs
On Tue, Jan 08, 2019 at 11:52:02PM +, Hans van Kranenburg wrote:
Hi Sasha,
On 1/8/19 8:25 PM, Sasha Levin wrote:
From: Hans van Kranenburg
[ Upstream commit baf92114c7e6dd6124aa3d506e4bc4b694da3bc3 ]
Commit 92e222df7b "btrfs: alloc_chunk: fix DUP stripe size handling"
fixed c
On Wed, Jan 23, 2019 at 03:54:00PM +, Hans van Kranenburg wrote:
On 1/23/19 3:37 PM, Sasha Levin wrote:
On Tue, Jan 08, 2019 at 11:52:02PM +, Hans van Kranenburg wrote:
Hi Sasha,
On 1/8/19 8:25 PM, Sasha Levin wrote:
From: Hans van Kranenburg
[ Upstream commit
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/btrfs_inode.h | 1 +
fs/btrfs/ctree.h | 2 +-
fs/btrfs/extent_io.c | 17 +++--
fs/btrfs/inode.c | 11 +++
fs/btrfs/ioctl.c | 2 +-
5 files changed, 25 insertions(+), 8 deletions(-)
di
em does not get solved until you take sda
out of the system on to another system to change its fsid using the
'btrfstune -u' command.
Signed-off-by: Anand Jain
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 29
tree preload
* readahead spinlock
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/reada.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/reada.c b/fs/btrfs/reada.c
index dec14b739b10..6f81f3e88b6d 100644
--- a/fs/btrfs/reada.c
em does not get solved until you take sda
out of the system on to another system to change its fsid using the
'btrfstune -u' command.
Signed-off-by: Anand Jain
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 29
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/btrfs_inode.h | 1 +
fs/btrfs/ctree.h | 2 +-
fs/btrfs/extent_io.c | 17 +++--
fs/btrfs/inode.c | 11 +++
fs/btrfs/ioctl.c | 2 +-
5 files changed, 25 insertions(+), 8 deletions(-)
di
em does not get solved until you take sda
out of the system on to another system to change its fsid using the
'btrfstune -u' command.
Signed-off-by: Anand Jain
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 29
tree preload
* readahead spinlock
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/reada.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/reada.c b/fs/btrfs/reada.c
index dec14b739b10..6f81f3e88b6d 100644
--- a/fs/btrfs/reada.c
hange, DUP still in the list with max errors 1
a236aed14ccb0 Btrfs: Deal with failed writes in mirrored configurations
- introduced the max errors, leaves DUP and RAID1 in the same group
Reviewed-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 3 +
hange, DUP still in the list with max errors 1
a236aed14ccb0 Btrfs: Deal with failed writes in mirrored configurations
- introduced the max errors, leaves DUP and RAID1 in the same group
Reviewed-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 3 +
hange, DUP still in the list with max errors 1
a236aed14ccb0 Btrfs: Deal with failed writes in mirrored configurations
- introduced the max errors, leaves DUP and RAID1 in the same group
Reviewed-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 3 +
hange, DUP still in the list with max errors 1
a236aed14ccb0 Btrfs: Deal with failed writes in mirrored configurations
- introduced the max errors, leaves DUP and RAID1 in the same group
Reviewed-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 3 +
rans->transaction->state.
If we're at TRANS_STATE_COMMIT_DOING, then we're in commit transaction
context and no need to get the mutex.
Reported-by: Nikolay Borisov
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/qgroup.c | 24
d-off-by: Sasha Levin
---
fs/btrfs/tree-checker.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c
index 96fce4bef4e7..ccd5706199d7 100644
--- a/fs/btrfs/tree-checker.c
+++ b/fs/btrfs/tree-checker.c
@@ -132,6 +132,7 @@ st
rans->transaction->state.
If we're at TRANS_STATE_COMMIT_DOING, then we're in commit transaction
context and no need to get the mutex.
Reported-by: Nikolay Borisov
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/qgroup.c | 24
workaround is expensive, we could do it better by only flushing
NOCOW range, but that needs extra accounting for NOCOW range.
For now, fix the possible data loss first.
Reviewed-by: Filipe Manana
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/io
hange, DUP still in the list with max errors 1
a236aed14ccb0 Btrfs: Deal with failed writes in mirrored configurations
- introduced the max errors, leaves DUP and RAID1 in the same group
Reviewed-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 3 +
Btrfs: do not start a transaction during fiemap")
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/backref.c | 2 +-
fs/btrfs/transaction.c | 22 ++
fs/btrfs/transaction.h | 3 +++
3 files changed, 22 insertions(+), 5
Btrfs: do not start a transaction during fiemap")
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/backref.c | 2 +-
fs/btrfs/transaction.c | 22 ++
fs/btrfs/transaction.h | 3 +++
3 files changed, 22 insertions(+), 5
Nikolay Borisov
Reviewed-by: Anand Jain
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/extent-tree.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 5faf0
-off-by: Sasha Levin
---
fs/btrfs/ctree.h | 3 +++
fs/btrfs/extent_io.c | 20 +---
fs/btrfs/extent_io.h | 5 -
fs/btrfs/inode.c | 15 +++
4 files changed, 19 insertions(+), 24 deletions(-)
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index
memory. And the device_list_mutex is held during superblock
commit, so this would cause a lockup.
Move the alocation and initialization before any changes that require
the mutex.
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/scrub.c | 30 ++
1 file
..@vger.kernel.org # 5.1+
Reviewed-by: Nikolay Borisov
Signed-off-by: Johannes Thumshirn
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/compression.c | 16
fs/btrfs/compression.h | 1 +
fs/btrfs/props.c | 6 +-
3 f
feature).
Fixes: 04216820fe83d5 ("Btrfs: fix race between fs trimming and block group
remove/allocation")
CC: sta...@vger.kernel.org # 4.4+
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/extent-tree.c | 34 ++
allocation fails in the for loop.
Fixes: a2de733c78fa ("btrfs: scrub")
CC: sta...@vger.kernel.org # 3.0+
Reviewed-by: Nikolay Borisov
Signed-off-by: Dan Robertson
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/scrub.c | 2 +-
1 file changed, 1
[359.32] do_syscall_64+0x54/0x180
[359.378841] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[359.380422] RIP: 0033:0x7f5429296a97
Backporting to older kernels: scrub_nocow_workers must be freed the same
way as the others.
CC: sta...@vger.kernel.org # 4.4+
Signed-off-by: Anand Jain
[ update c
From: David Sterba
[ Upstream commit 92f7ba434f51e8e9317f1d166105889aa230abd2 ]
We can pass fs_info directly as this is the only member of btrfs_device
that's bing used inside scrub_setup_ctx.
Reviewed-by: Nikolay Borisov
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/
From: Qu Wenruo
[ Upstream commit 05a37c48604c19b50873fd9663f9140c150469d1 ]
Add extra dev extent end check against device boundary.
Signed-off-by: Qu Wenruo
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/volumes.c | 17 +
1
trfs_find_device()
and if it's a dummy then re-search in seed devices.
Fixes: cf90d884b347 ("btrfs: Introduce mount time chunk <-> dev extent mapping
check")
CC: sta...@vger.kernel.org # 4.19+
Reported-by: Filipe Manana
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
ectly.
Fixes: 524272607e88 ("btrfs: Handle delalloc error correctly to avoid ordered
extent hang")
CC: sta...@vger.kernel.org # 4.14+
Reviewed-by: Josef Bacik
Signed-off-by: Nikolay Borisov
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/inode.c | 29 +++
scrub: use GFP_KERNEL on the submission path")
CC: sta...@vger.kernel.org # 4.6+
Reviewed-by: Nikolay Borisov
Signed-off-by: Filipe Manana
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/scrub.c | 35 ++-
1 file c
From: Omar Sandoval
[ Upstream commit 32934280967d00dc2b5c4d3b63b21a9c8638326e ]
struct scrub_ctx has an ->is_dev_replace member, so there's no point in
passing around is_dev_replace where sctx is available.
Signed-off-by: Omar Sandoval
Signed-off-by: David Sterba
Signed-off-by: Sas
Hi,
[This is an automated email]
This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: 4.4+
The bot has tested the following trees: v5.2.14, v4.19.72, v4.14.143, v4.9.192,
v4.4.192.
v5.2.14: Build OK!
v4.19.72: Fa
On Thu, Sep 12, 2019 at 12:02:59PM +0200, Johannes Thumshirn wrote:
[ Upstream commit aa53e3bfac7205fb3a8815ac1c937fd6ed01b41e ]
Nikolay reported the following KASAN splat when running btrfs/048:
[ 1843.470920]
==
[ 1843.471971] B
lla.kernel.org/show_bug.cgi?id=202821
Reviewed-by: Nikolay Borisov
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/disk-io.c | 10 ++
fs/btrfs/tree-checker.c | 6 ++
2 files changed, 16 insertions(+)
diff --git a/fs/btrfs/disk-io.c b/fs/b
happen for MIXED_GROUPS fs. Regular filesystems
won't have space_info with DATA|METADATA flag, and no way to hit the
bug.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203255
Reported-by: Jungyeon Yoon
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
--
happen for MIXED_GROUPS fs. Regular filesystems
won't have space_info with DATA|METADATA flag, and no way to hit the
bug.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203255
Reported-by: Jungyeon Yoon
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
--
happen for MIXED_GROUPS fs. Regular filesystems
won't have space_info with DATA|METADATA flag, and no way to hit the
bug.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203255
Reported-by: Jungyeon Yoon
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
--
happen for MIXED_GROUPS fs. Regular filesystems
won't have space_info with DATA|METADATA flag, and no way to hit the
bug.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203255
Reported-by: Jungyeon Yoon
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
--
happen for MIXED_GROUPS fs. Regular filesystems
won't have space_info with DATA|METADATA flag, and no way to hit the
bug.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203255
Reported-by: Jungyeon Yoon
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
--
lla.kernel.org/show_bug.cgi?id=202821
Reviewed-by: Nikolay Borisov
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/disk-io.c | 10 ++
fs/btrfs/tree-checker.c | 6 ++
2 files changed, 16 insertions(+)
diff --git a/fs/btrfs/disk-io.c b/fs/b
ted-by: Jungyeon Yoon
Signed-off-by: Qu Wenruo
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tree-checker.c | 92 +
1 file changed, 92 insertions(+)
diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c
difiy __btrfs_remove_delayed_item() called
in btrfs_release_delayed_item(), to skip unassociated item.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203253
Signed-off-by: Qu Wenruo
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/delayed-in
ted-by: Jungyeon Yoon
Signed-off-by: Qu Wenruo
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tree-checker.c | 92 +
1 file changed, 92 insertions(+)
diff --git a/fs/btrfs/tree-checker.c b/fs/btrfs/tree-checker.c
difiy __btrfs_remove_delayed_item() called
in btrfs_release_delayed_item(), to skip unassociated item.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203253
Signed-off-by: Qu Wenruo
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/delayed-in
happen for MIXED_GROUPS fs. Regular filesystems
won't have space_info with DATA|METADATA flag, and no way to hit the
bug.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203255
Reported-by: Jungyeon Yoon
Signed-off-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
--
Hi,
[This is an automated email]
This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: 4.16+
The bot has tested the following trees: v5.3.1, v5.2.17, v4.19.75.
v5.3.1: Build OK!
v5.2.17: Build OK!
v4.19.75: Failed
pe Manana
Reviewed-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tests/btrfs-tests.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/fs/btrfs/tests/btrfs-tests.c b/fs/btrfs/tests/btrfs-tests.c
index 9238fd4f17340..41f41540382e5 100644
-
pe Manana
Reviewed-by: Qu Wenruo
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tests/btrfs-tests.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/fs/btrfs/tests/btrfs-tests.c b/fs/btrfs/tests/btrfs-tests.c
index 1e3ba49493995..814a918998ece 100644
-
Hi.
[This is an automated email]
This commit has been processed by the -stable helper bot and determined
to be a high probability candidate for -stable trees. (score: 9.9156)
The bot has tested the following trees: v4.15.15, v4.14.32, v4.9.92, v4.4.126,
v4.15.15: Build OK!
v4.14.32: Build OK!
On Thu, Apr 05, 2018 at 07:11:14PM +0200, David Sterba wrote:
>On Thu, Apr 05, 2018 at 04:42:34PM +0000, Sasha Levin wrote:
>> Hi.
>>
>> [This is an automated email]
>>
>> This commit has been processed by the -stable helper bot and determined
>> to be a
Hi,
[This is an automated email]
This commit has been processed by the -stable helper bot and determined
to be a high probability candidate for -stable trees. (score: 34.4419)
The bot has tested the following trees: v4.16, v4.15.15, v4.14.32, v4.9.92,
v4.4.126.
v4.16: Build OK!
v4.15.15: Build
Hi,
[This is an automated email]
This commit has been processed because it contains a "Fixes:" tag,
fixing commit: 2a98dc028f91 include/linux/bitmap.h: turn bitmap_set and
bitmap_clear into memset when possible.
The bot has also determined it's probably a bug fixing patch. (score: 65.4067)
The
Hi,
[This is an automated email]
This commit has been processed by the -stable helper bot and determined
to be a high probability candidate for -stable trees. (score: 16.7330)
The bot has tested the following trees: v4.16, v4.15.15, v4.14.32, v4.9.92,
v4.4.126.
v4.16: Build OK!
v4.15.15: Build
Hi,
[This is an automated email]
This commit has been processed because it contains a "Fixes:" tag,
fixing commit: 6d74119f1a3e Btrfs: avoid taking the chunk_mutex in
do_chunk_alloc.
The bot has also determined it's probably a bug fixing patch. (score: 55.2868)
The bot has tested the following
Hi,
[This is an automated email]
This commit has been processed because it contains a "Fixes:" tag,
fixing commit: c71bf099abdd Btrfs: Avoid orphan inodes cleanup while replaying
log.
The bot has also determined it's probably a bug fixing patch. (score: 6.2138)
The bot has tested the following
jg8vyith8+ifjurc_duhh...@mail.gmail.com/
Fixes: 9d66e233c704 ("Btrfs: load free space cache if it exists")
Tested-by: Andrew Nelson
Reviewed-by: Josef Bacik
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/ctree.h| 3 +++
f
note ]
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/send.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index c3c0c064c25da..91c702b4cae9d 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -5070,7 +5070,7 @@ static
so long during transaction commit
Performance results are mentioned in the change log of the last patch.
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tree-log.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/fs/btrfs/tree-log.c
to unnecessary transaction commit when logging inode
btrfs: do not block inode logging for so long during transaction commit
Performance results are mentioned in the change log of the last patch.
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tr
so long during transaction commit
Performance results are mentioned in the change log of the last patch.
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tree-log.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/fs/btrfs/tree-log.c
ng during transaction commit
Performance results are mentioned in the change log of the last patch.
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tree-log.c | 20
1 file changed, 8 insertions(+), 12 deletions(-)
diff
Performance results are mentioned in the change log of the last patch.
Signed-off-by: Filipe Manana
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/tree-log.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index de
mode happens, we are
already resuming the qgroup rescan worker through the call to
btrfs_qgroup_rescan_resume(), so we do not need to worry about that.
Tested-by: Fabian Vogt
Reviewed-by: Josef Bacik
Signed-off-by: Filipe Manana
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by
mode happens, we are
already resuming the qgroup rescan worker through the call to
btrfs_qgroup_rescan_resume(), so we do not need to worry about that.
Tested-by: Fabian Vogt
Reviewed-by: Josef Bacik
Signed-off-by: Filipe Manana
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by
mode happens, we are
already resuming the qgroup rescan worker through the call to
btrfs_qgroup_rescan_resume(), so we do not need to worry about that.
Tested-by: Fabian Vogt
Reviewed-by: Josef Bacik
Signed-off-by: Filipe Manana
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by
mode happens, we are
already resuming the qgroup rescan worker through the call to
btrfs_qgroup_rescan_resume(), so we do not need to worry about that.
Tested-by: Fabian Vogt
Reviewed-by: Josef Bacik
Signed-off-by: Filipe Manana
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by
oup discard lists are not
empty.
Reviewed-by: Josef Bacik
Signed-off-by: Pavel Begunkov
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/discard.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/fs/btrfs/discard.c b/fs/btrfs/discard.c
in
kov
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/discard.c | 43 +++
1 file changed, 23 insertions(+), 20 deletions(-)
diff --git a/fs/btrfs/discard.c b/fs/btrfs/discard.c
index d1a5380e8827d..9e1a06144e32d 100
ive number.
Reviewed-by: Josef Bacik
Signed-off-by: Nikolay Borisov
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/ctree.h | 2 +-
fs/btrfs/dev-replace.c | 2 +-
fs/btrfs/inode.c | 6 +++---
fs/btrfs/ioctl.c | 2 +-
fs/btrfs/sp
iewed-by: Nikolay Borisov
Signed-off-by: Josef Bacik
[ add comments regarding memory barrier ]
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/delayed-ref.h | 12 ++--
fs/btrfs/transaction.c | 32 +++-
2 files changed, 21 insertions(+
longer corrupts the file system.
Signed-off-by: Josef Bacik
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/transaction.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/tran
longer corrupts the file system.
Signed-off-by: Josef Bacik
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/transaction.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/tran
longer corrupts the file system.
Signed-off-by: Josef Bacik
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/transaction.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/tran
ive number.
Reviewed-by: Josef Bacik
Signed-off-by: Nikolay Borisov
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/ctree.h | 2 +-
fs/btrfs/dev-replace.c | 2 +-
fs/btrfs/inode.c | 6 +++---
fs/btrfs/ioctl.c | 2 +-
fs/btrfs/sp
longer corrupts the file system.
Signed-off-by: Josef Bacik
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/transaction.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/tran
On Wed, Feb 24, 2021 at 07:08:20PM +0100, David Sterba wrote:
On Wed, Feb 24, 2021 at 07:50:13AM -0500, Sasha Levin wrote:
From: Josef Bacik
[ Upstream commit e19eb11f4f3d3b0463cd897016064a79cb6d8c6d ]
I've been running a stress test that runs 20 workers in their own
subvolume, whic
On Wed, Feb 24, 2021 at 07:09:42PM +0100, David Sterba wrote:
On Wed, Feb 24, 2021 at 07:50:12AM -0500, Sasha Levin wrote:
From: Nikolay Borisov
[ Upstream commit 9db4dc241e87fccd8301357d5ef908f40b50f2e3 ]
It's currently u64 which gets instantly translated either to LONG_MAX
(if U64_M
end_bio_extent_readpage() to only zero the
range of bvec.
The bug only affects subpage read-write support, as for full read-only
mount we can't change i_size thus won't hit the race condition.
Signed-off-by: Qu Wenruo
Reviewed-by: David Sterba
Signed-off-by: David Sterba
Signed-off-by: Sasha Levin
---
Sterba
Signed-off-by: Sasha Levin
---
fs/btrfs/inode.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index ad34c5a09bef..02c4bfa515fb 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -1657,9 +1657,6 @@ static noinline int
1 - 100 of 129 matches
Mail list logo