Re: [RFC] python-btrfs: getting arch dependent ioctl handling right

2017-02-04 Thread Hans van Kranenburg
On 02/05/2017 12:56 AM, Hugo Mills wrote: > On Sun, Feb 05, 2017 at 12:37:18AM +0100, Hans van Kranenburg wrote: >> Hi, >> >> since I'd like to have my python btrfs library work correctly for users >> with other systems than amd64, I have been looking at IOCTL number >> generation a bit. >> >> I

Re: [RFC] python-btrfs: getting arch dependent ioctl handling right

2017-02-04 Thread Hugo Mills
On Sun, Feb 05, 2017 at 12:37:18AM +0100, Hans van Kranenburg wrote: > Hi, > > since I'd like to have my python btrfs library work correctly for users > with other systems than amd64, I have been looking at IOCTL number > generation a bit. > > I just made something up in a branch, which follows

[RFC] python-btrfs: getting arch dependent ioctl handling right

2017-02-04 Thread Hans van Kranenburg
Hi, since I'd like to have my python btrfs library work correctly for users with other systems than amd64, I have been looking at IOCTL number generation a bit. I just made something up in a branch, which follows the same way in which the IOC defines in kernel source are done:

Re: Very slow balance / btrfs-transaction

2017-02-04 Thread Kai Krakow
Am Sat, 04 Feb 2017 20:50:03 + schrieb "Jorg Bornschein" : > February 4, 2017 1:07 AM, "Goldwyn Rodrigues" > wrote: > > > Yes, please check if disabling quotas makes a difference in > > execution time of btrfs balance. > > Just FYI: With quotas disabled

Re: Very slow balance / btrfs-transaction

2017-02-04 Thread Jorg Bornschein
February 4, 2017 1:07 AM, "Goldwyn Rodrigues" wrote: > Yes, please check if disabling quotas makes a difference in execution > time of btrfs balance. Just FYI: With quotas disabled it took ~20h to finish the balance instead of the projected >30 days. Therefore, in my case,

Re: [PATCH] Btrfs: add another missing end_page_writeback on submit_extent_page failure

2017-02-04 Thread takafumi-sslab
(But it could be changed after subpagesize block patchset, and there is more work rather than just adding a end_page_writeback, e.g. writepage endio also needs to be updated). Ok... the discussion become complicated. So, let me make this clear. you think a) this is a bug; we need to clear

Re: Very slow balance / btrfs-transaction

2017-02-04 Thread Duncan
Lakshmipathi.G posted on Sat, 04 Feb 2017 08:25:04 +0530 as excerpted: >>Should quota support generally be disabled during balances? > > If this true and quota impacts balance throughput, at-least there should > an alert message like "Running Balance with quota will affect > performance" or

Re: btrfs_drop_snapshot "IO failure" after RAID controller reset

2017-02-04 Thread Duncan
Juergen 'Louis' Fluk posted on Fri, 03 Feb 2017 11:16:51 +0100 as excerpted: > The server is running kernel 3.19.0-79-generic (ubuntu 14.04), > btrfs-tools 3.12-1ubuntu0.1. > Does it make sense to use newer kernel and/or tools to recover? I'm not a dev, just a list regular and btrfs user, but I