Re: Why do we need these mount options?

2021-01-16 Thread Adam Borowski
On Sat, Jan 16, 2021 at 10:39:51AM +0300, Andrei Borzenkov wrote: > 15.01.2021 06:54, Zygo Blaxell пишет: > > On the other hand, I'm in favor of deprecating the whole discard option > > and going with fstrim instead. discard in its current form tends to > > increase write wear rather than decrease

[PATCH RFC] btrfs-progs: receive-dump, add JSON output format

2021-01-16 Thread Steven Davies
I have seen a few requests from users on other forums for a way to find a diff between two snapshots and some scripts have been created[1] which parse a btrfs-send stream to get this information. This patch adds native JSON format output support to the btrfs-receive dump command which would ma

Re: Why do we need these mount options?

2021-01-16 Thread Andrei Borzenkov
16.01.2021 18:19, Adam Borowski пишет: > On Sat, Jan 16, 2021 at 10:39:51AM +0300, Andrei Borzenkov wrote: >> 15.01.2021 06:54, Zygo Blaxell пишет: >>> On the other hand, I'm in favor of deprecating the whole discard option >>> and going with fstrim instead. discard in its current form tends to >>

Re: Why do we need these mount options?

2021-01-16 Thread Zygo Blaxell
On Sat, Jan 16, 2021 at 08:21:16PM +0300, Andrei Borzenkov wrote: > 16.01.2021 18:19, Adam Borowski пишет: > > On Sat, Jan 16, 2021 at 10:39:51AM +0300, Andrei Borzenkov wrote: > >> 15.01.2021 06:54, Zygo Blaxell пишет: > >>> On the other hand, I'm in favor of deprecating the whole discard option >

raid0 confusion question

2021-01-16 Thread Tim Cuthbertson
I thought raid0 "striped" the data across two or more devices to increase total capacity, for example when adding a new device to an existing filesystem. But that is not apparently what I ended up with. Before: btrfs device usage /mnt/backup/ /dev/sdc1, ID: 1 Device size: 300.00GiB

NVME experience?

2021-01-16 Thread Graham Cobb
I am about to deploy my first btrfs filesystems on NVME. Does anyone have any hints or advice? Initially they will be root disks, but I am thinking about also moving home disks and other frequently used data to NVME, but probably not backups and other cold data. I am mostly wondering about non-fun

Re: raid0 confusion question

2021-01-16 Thread Zygo Blaxell
On Sat, Jan 16, 2021 at 03:08:00PM -0600, Tim Cuthbertson wrote: > I thought raid0 "striped" the data across two or more devices to > increase total capacity, for example when adding a new device to an > existing filesystem. But that is not apparently what I ended up with. > > Before: > btrfs devi

Re: Re: Re: Raid1 of a slow hdd and a fast(er) SSD, howto to prioritize the SSD?

2021-01-16 Thread
--- Ursprüngliche Nachricht --- Von: Zygo Blaxell Datum: 16.01.2021 02:04:38 An: Andrea Gelmini Betreff: Re: Re: Raid1 of a slow hdd and a fast(er) SSD, howto to prioritize the SSD? On Sun, Jan 10, 2021 at 10:00:01AM +0100, Andrea Gelmini wrote: > Il giorno sab 9 gen 2021 alle ore 22:40 Zygo

Re: [PATCH RFC] btrfs-progs: receive-dump, add JSON output format

2021-01-16 Thread Sheng Mao
Hi Steven, JSON output is a feature I have waited for a long time. Thank you! Just my two cents: why not create your own struct btrfs_send_ops object and your own set of print_* functions? I think that may be more OOP design. Regards, Sheng On Sat, Jan 16, 2021 at 03:56:06PM +, Steven Davi