On Tue, Jun 28, 2016 at 2:56 PM, M G Berberich <btrfs@xxxxxxxxxxxxxxxxxx> wrote: > Hello, > > Am Montag, den 27. Juni schrieb Henk Slager: >> On Mon, Jun 27, 2016 at 3:33 PM, M G Berberich <btrfs@xxxxxxxxxxxxxxxxxx> wrote: >> > Am Montag, den 27. Juni schrieb M G Berberich: >> >> after a balance ‘btrfs filesystem du’ probably shows false data about >> >> shared data. >> > >> > Oh, I forgot: I have btrfs-progs v4.5.2 and kernel 4.6.2. >> >> With btrfs-progs v4.6.1 and kernel 4.7-rc5, the numbers are correct >> about shared data. > > I tested with kernels 4.6.3 and 4.7-rc5 and with btrfs-progs 4.5.2 and > 4.61. Also with kernel 4.6.2-1-default and btrfs-progs v4.5.3+20160516 (current stock opensuse tumbleweed) I cannot reproduce the problem. The later kernel with two patches to make the kernel work: > https://lkml.org/lkml/2016/6/1/310 https://lkml.org/lkml/2016/6/1/311 . ... so these seem to cause the problem > You can see the script¹ I used (do-btrfs-du-test) and the logs at > http://m-berberich.de/btrfs/ > > In all four cases, ‘btrfs fi du -s .’ reports > > Total Exclusive Set shared Filename > 59.38MiB 0.00B 29.69MiB . > > befor balance and > > Total Exclusive Set shared Filename > 59.38MiB 59.38MiB 0.00B . > > after balance. > > Disclaimer: The script works for me, no guaranty at all. > > MfG > bmg > __________ > ¹ Disclaimer: The script works for me, no guaranty at all. > -- > „Des is völlig wurscht, was heut beschlos- | M G Berberich > sen wird: I bin sowieso dagegn!“ | mail@xxxxxxxxxxxxxx > (SPD-Stadtrat Kurt Schindler; Regensburg) | > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
