Re: btrfs issue with mariadb incremental backup

2017-08-08 Thread Chris Murphy
On Tue, Aug 8, 2017 at 10:32 PM, wrote: > Hi btrfs support team, > > My name is siranee jaraswachirakul. I tested btrfs incremental send and > receive and > I found something incorrect. > > I posted detail in the url >

btrfs issue with mariadb incremental backup

2017-08-08 Thread siranee . ja
Hi btrfs support team, My name is siranee jaraswachirakul. I tested btrfs incremental send and receive and I found something incorrect. I posted detail in the url http://www.linuxquestions.org/questions/showthread.php?p=5746238#post5746238 Could you please help me to find the reason? Best

Re: [PATCH] Btrfs: fix out of bounds array access while reading extent buffer

2017-08-08 Thread Liu Bo
Hi Filipe, On Tue, Aug 08, 2017 at 09:47:21AM +0100, Filipe Manana wrote: > On Mon, Aug 7, 2017 at 8:39 PM, Liu Bo wrote: > > There is a cornel case that slip through the checkers in functions > > reading extent buffer, ie. > > > > if (start < eb->len) and (start + len >

RE: BTRfs Mailing List Subscribe

2017-08-08 Thread William Muriithi
Hi Jay, Please subscribe me to the BTRfs mailing list. You could actually do this yourself. See the link below. http://vger.kernel.org/vger-lists.html#linux-btrfs https://btrfs.wiki.kernel.org/index.php/Btrfs_mailing_list Jay Jason Bartlett PLM, G-RACK 12 Regards, William

BTRfs Mailing List Subscribe

2017-08-08 Thread Jay Bartlett
Please subscribe me to the BTRfs mailing list. Jay Jason Bartlett PLM, G-RACK 12 G-Technology Product Line Marketing M:760.429.3444 W: g-technology.com E: jay.bartl...@wdc.com G-Technology, a Western Digital Corporation Brand Western Digital Corporation (and

Re: how to benchmark schedulers

2017-08-08 Thread Bernhard Landauer
On 08.08.2017 15:19, Janos Toth F. wrote: I think you should consider using Linux 4.12 which has bfq (bfq-mq) for blk-mq. So, you don't need out-of-tree BFQ patches if you switch to blk-mq (but now you are free to do so even if you have HDDs or SSDs which benefit from software schedulers since

Re: how to benchmark schedulers

2017-08-08 Thread Janos Toth F.
I think you should consider using Linux 4.12 which has bfq (bfq-mq) for blk-mq. So, you don't need out-of-tree BFQ patches if you switch to blk-mq (but now you are free to do so even if you have HDDs or SSDs which benefit from software schedulers since you have some multi-queue schedulers for

how to benchmark schedulers

2017-08-08 Thread Bernhard Landauer
Hello everyone I am looking for a way to test different available schedulers with Manjaro's bfq-patched kernels on sytems with both SSD and spinning drives. Since phoronix-test-suite apparently is currently useless for this task due to its bad config for bfq I am looking for alternatives. Do

Re: Btrfs umount hang

2017-08-08 Thread Angel Shtilianov
crash> bt -f 31625 PID: 31625 TASK: 88046a833400 CPU: 7 COMMAND: "btrfs-transacti" wants to acquire struct extent_buffer 88000460aca0 lock, whose lock_owner is 27574. here is pid 27574: PID: 27574 TASK: 88038b469a00 CPU: 4 COMMAND: "kworker/u32:9" which is also is trying to

[PATCH v3 11/49] btrfs: avoid access to .bi_vcnt directly

2017-08-08 Thread Ming Lei
BTRFS uses bio->bi_vcnt to figure out page numbers, this way becomes not correct once we start to enable multipage bvec. So use bio_for_each_segment_all() to do that instead. Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc:

[PATCH v3 12/49] btrfs: avoid to access bvec table directly for a cloned bio

2017-08-08 Thread Ming Lei
Commit 17347cec15f919901c90(Btrfs: change how we iterate bios in endio) mentioned that for dio the submitted bio may be fast cloned, we can't access the bvec table directly for a cloned bio, so use bio_get_first_bvec() to retrieve the 1st bvec. Cc: Chris Mason Cc: Josef Bacik

Re: [PATCH v3 46/49] fs/btrfs: convert to bio_for_each_segment_all_sp()

2017-08-08 Thread Filipe Manana
On Tue, Aug 8, 2017 at 9:45 AM, Ming Lei wrote: > Cc: Chris Mason > Cc: Josef Bacik > Cc: David Sterba > Cc: linux-btrfs@vger.kernel.org > Signed-off-by: Ming Lei Can you please add some meaningful

[PATCH v3 30/49] btrfs: use bvec_get_last_page to get bio's last page

2017-08-08 Thread Ming Lei
Preparing for supporting multipage bvec. Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: linux-btrfs@vger.kernel.org Signed-off-by: Ming Lei --- fs/btrfs/compression.c | 5 - fs/btrfs/extent_io.c | 8 ++-- 2

[PATCH v3 46/49] fs/btrfs: convert to bio_for_each_segment_all_sp()

2017-08-08 Thread Ming Lei
Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: linux-btrfs@vger.kernel.org Signed-off-by: Ming Lei --- fs/btrfs/compression.c | 3 ++- fs/btrfs/disk-io.c | 3 ++- fs/btrfs/extent_io.c | 12

[PATCH v3 13/49] btrfs: comment on direct access bvec table

2017-08-08 Thread Ming Lei
Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: linux-btrfs@vger.kernel.org Acked: David Sterba Signed-off-by: Ming Lei --- fs/btrfs/compression.c | 4 fs/btrfs/inode.c | 12 2

Re: [PATCH] Btrfs: fix out of bounds array access while reading extent buffer

2017-08-08 Thread Filipe Manana
On Mon, Aug 7, 2017 at 8:39 PM, Liu Bo wrote: > There is a cornel case that slip through the checkers in functions > reading extent buffer, ie. > > if (start < eb->len) and (start + len > eb->len), > then > > a) map_private_extent_buffer() returns immediately because > it's