RE: parent transid verify failed / ERROR: could not setup extent tree

2021-03-20 Thread Dave T
On Sat, Mar 20, 2021 at 10:04 PM Chris Murphy wrote: > > On Sat, Mar 20, 2021 at 5:15 AM Dave T wrote: > > > > I hope to get some expert advice before I proceed. I don't want to > > make things worse. Here's my situation now: > > > > This problem is with an external USB drive and it is encrypted

Re: parent transid verify failed / ERROR: could not setup extent tree

2021-03-20 Thread Chris Murphy
On Sat, Mar 20, 2021 at 5:15 AM Dave T wrote: > > I hope to get some expert advice before I proceed. I don't want to > make things worse. Here's my situation now: > > This problem is with an external USB drive and it is encrypted. > cryptsetup open succeeds. But mount fails.k > > mount /backu

Re: [PATCH v8 00/10] fs: interface for directly reading/writing compressed data

2021-03-20 Thread Omar Sandoval
On Fri, Mar 19, 2021 at 05:31:18PM -0700, Linus Torvalds wrote: > On Fri, Mar 19, 2021 at 3:46 PM Omar Sandoval wrote: > > > > Not much shorter, but it is easier to follow. > > Yeah, that looks about right to me. > > You should probably use kmap_local_page() rather than kmap_atomic() > these day

APFS and BTRFS

2021-03-20 Thread Forrest Aldrich
I have a really large (3+ TB) volume I am copying to a BTRFS volume (both over USB) which is painfully slow.  In fact, it will probably take days to complete.   My goal is to use BTRFS on that larger USB volume (it's an 18TB drive) I don't suppose there is a way to convert APFS to BTRFS :)

APFS and BTRFS

2021-03-20 Thread Forrest Aldrich
I have a really large (3+ TB) volume I am copying to a BTRFS volume (both over USB) which is painfully slow.  In fact, it will probably take days to complete.   My goal is to use BTRFS on that larger USB volume (it's an 18TB drive) I don't suppose there is a way to convert APFS to BTRFS :)

[PATCH 1/1] btrfs-progs: build system - do not use AC_DEFINE twice

2021-03-20 Thread pierre . labastie
From: Pierre Labastie Autoheader uses the AC_DEFINE macros (and a few others) to populate the config.h.in file. The autotools documentation does not tell what happens if AC_DEFINE is used twice for the same identifier. This patch prevents using AC_DEFINE twice for HAVE_OWN_FIEMAP_EXTENT_DEFINE,

[PATCH 0/1] btrfs-progs: build system - do not use AC_DEFINE twice

2021-03-20 Thread pierre . labastie
From: Pierre Labastie Autoheader uses the AC_DEFINE macros (and a few others) to populate the config.h.in file. The autotools documentation does not tell what happens if AC_DEFINE is used twice for the same identifier. This patch prevents using AC_DEFINE twice for HAVE_OWN_FIEMAP_EXTENT_DEFINE,

[syzbot] KMSAN: uninit-value in btrfs_del_items

2021-03-20 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:29ad81a1 arch/x86: add missing include to sparsemem.h git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=17eda2dcd0 kernel config: https://syzkaller.appspot.com/x/.co

parent transid verify failed / ERROR: could not setup extent tree

2021-03-20 Thread Dave T
I hope to get some expert advice before I proceed. I don't want to make things worse. Here's my situation now: This problem is with an external USB drive and it is encrypted. cryptsetup open succeeds. But mount fails.k mount /backup mount: /backup: wrong fs type, bad option, bad superblo

Re: BTRFS error (device sda1): bdev /dev/sdb1 errs: wr 2702175, rd 2719033, flush 0, corrupt 6, gen 0

2021-03-20 Thread Thomas Schneider
Hello Chris, many thanks for your analysis. I'm not sure how to proceed in order to fix this error. Obviously both devices, sda and sdb, are not partitioned 100% correct/optimal. Therefore I consider to restart from scratch, means - creating a file backup of OS - deleting any partion on sda a

Re: parent transid verify failed / ERROR: could not setup extent tree

2021-03-20 Thread Dave T
On Sat, Mar 20, 2021 at 2:33 AM Dave T wrote: > > I hope to get some expert advice before I proceed. I don't want to > make things worse. Here's my situation now: > > This problem is with an external USB drive and it is encrypted. > cryptsetup open succeeds. But mount fails.k > > mount /backu

Re: [PATCH v8 01/10] iov_iter: add copy_struct_from_iter()

2021-03-20 Thread Christian Brauner
On Wed, Mar 17, 2021 at 11:45:02AM -0700, Omar Sandoval wrote: > On Wed, Mar 17, 2021 at 06:56:11PM +0100, Christian Brauner wrote: > > On Tue, Mar 16, 2021 at 12:42:57PM -0700, Omar Sandoval wrote: > > > From: Omar Sandoval > > > > > > This is essentially copy_struct_from_user() but for an iov_i