[PATCH 1/1] btrfs-progs: Implement dump-raw command

2021-02-27 Thread Dāvis Mosāns
This command allows to inspect raw blocks. It also shows information about where specified block is read from. --- Android.mk | 3 +- Makefile| 3 +- cmds/commands.h | 1 + cmds/inspect-dump-raw.c | 343 cmds/inspe

[PATCH 0/1] btrfs-progs: Implement dump-raw command

2021-02-27 Thread Dāvis Mosāns
Currently there doesn't seem to be any tool to dump raw contents of a block, so here I implemented such command. It also shows info about block's location which is useful if there's a need to patch block directly on disk. It's based on dump-tree command - basically copied it with some changes. Us

Re: Question about the "EXPERIMENTAL" tag for dax in XFS

2021-02-27 Thread Dan Williams
On Sat, Feb 27, 2021 at 2:36 PM Dave Chinner wrote: > > On Fri, Feb 26, 2021 at 02:41:34PM -0800, Dan Williams wrote: > > On Fri, Feb 26, 2021 at 1:28 PM Dave Chinner wrote: > > > On Fri, Feb 26, 2021 at 12:59:53PM -0800, Dan Williams wrote: > > > > On Fri, Feb 26, 2021 at 12:51 PM Dave Chinner

Re: Question about the "EXPERIMENTAL" tag for dax in XFS

2021-02-27 Thread Dave Chinner
On Fri, Feb 26, 2021 at 02:41:34PM -0800, Dan Williams wrote: > On Fri, Feb 26, 2021 at 1:28 PM Dave Chinner wrote: > > On Fri, Feb 26, 2021 at 12:59:53PM -0800, Dan Williams wrote: > > > On Fri, Feb 26, 2021 at 12:51 PM Dave Chinner wrote: > > > > > My immediate concern is the issue Jason recent

[PATCH] btrfs-progs: Fix checksum output for "checksum verify failed"

2021-02-27 Thread Dāvis Mosāns
Currently only single checksum byte is outputted. This fixes it so that full checksum is outputted. Signed-off-by: Dāvis Mosāns --- kernel-shared/disk-io.c | 47 - 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/kernel-shared/disk-io.c b/ker

Re: [PATCH 1/4] btrfs: add ioctl BTRFS_IOC_DEV_PROPERTIES.

2021-02-27 Thread Zygo Blaxell
On Tue, Feb 23, 2021 at 02:53:30PM +0100, David Sterba wrote: > On Mon, Feb 22, 2021 at 10:19:06PM +0100, Goffredo Baroncelli wrote: > > From: Goffredo Baroncelli > > > > This ioctl is a base for returning / setting information from / to the > > fields of the btrfs_dev_item object. > > Please d

Re: [PATCH 1/4] btrfs: add ioctl BTRFS_IOC_DEV_PROPERTIES.

2021-02-27 Thread Zygo Blaxell
On Wed, Feb 24, 2021 at 10:27:45AM +0800, Anand Jain wrote: > On 23/02/2021 21:53, David Sterba wrote: > > On Mon, Feb 22, 2021 at 10:19:06PM +0100, Goffredo Baroncelli wrote: > > > From: Goffredo Baroncelli > > > > > > This ioctl is a base for returning / setting information from / to the > > >

misc-next a646ddc2bba2: kernel BUG at fs/btrfs/ctree.c:1210! tree mod log

2021-02-27 Thread Zygo Blaxell
Hit this twice so far, while running the usual balance/dedupe/rsync/snapshots/all at once on: a646ddc2bba2 (kdave-gitlab/misc-next) btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors Looks like tree mod log bugs are back (or never went away?). [40422.3

Re: [PATCH v7 0/3] Update to zstd-1.4.6

2021-02-27 Thread Oleksandr Natalenko
Hi. On Thu, Dec 03, 2020 at 12:51:11PM -0800, Nick Terrell wrote: > From: Nick Terrell > > Please pull from > > g...@github.com:terrelln/linux.git tags/v7-zstd-1.4.6 > > to get these changes. Alternatively the patchset is included. > > This patchset upgrades the zstd library to the latest u