Re: memory overflow or undeflow in free space tree / space_info?

2016-08-29 Thread Stefan Priebe - Profihost AG
Hi Josef, this still hapens with current 4.8-rc* releases. Anything i can do to debug this? May be insert some code to check for an under or overflow in the code? Stefan Am 14.08.2016 um 17:22 schrieb Stefan Priebe - Profihost AG: > Hi Josef, > > anything i could do or test? Results with a

Re: memory overflow or undeflow in free space tree / space_info?

2016-08-14 Thread Stefan Priebe - Profihost AG
Hi Josef, anything i could do or test? Results with a vanilla next branch are the same. Stefan Am 11.08.2016 um 08:09 schrieb Stefan Priebe - Profihost AG: > Hello, > > the backtrace and info on umount looks the same: > > [241910.341124] [ cut here ] > [241910.379991]

Re: memory overflow or undeflow in free space tree / space_info?

2016-08-11 Thread Stefan Priebe - Profihost AG
Hello, the backtrace and info on umount looks the same: [241910.341124] [ cut here ] [241910.379991] WARNING: CPU: 1 PID: 26664 at fs/btrfs/extent-tree.c:5701 btrfs_free_block_groups+0x370/0x410 [btrfs] [241910.422099] Modules linked in: netconsole mpt3sas ipt_REJECT

Re: memory overflow or undeflow in free space tree / space_info?

2016-08-10 Thread Stefan Priebe - Profihost AG
Hi Josef, same again with chris next branch: ERROR: error during balancing '/vmbackup/': No space left on device There may be more info in syslog - try dmesg | tail Dumping filters: flags 0x7, state 0x0, force is off DATA (flags 0x2): balancing, usage=5 METADATA (flags 0x2): balancing,

Re: memory overflow or undeflow in free space tree / space_info?

2016-08-08 Thread Stefan Priebe - Profihost AG
Am 04.08.2016 um 13:40 schrieb Stefan Priebe - Profihost AG: > Am 29.07.2016 um 23:03 schrieb Josef Bacik: >> On 07/29/2016 03:14 PM, Omar Sandoval wrote: >>> On Fri, Jul 29, 2016 at 12:11:53PM -0700, Omar Sandoval wrote: On Fri, Jul 29, 2016 at 08:40:26PM +0200, Stefan Priebe - Profihost

Re: memory overflow or undeflow in free space tree / space_info?

2016-08-04 Thread Stefan Priebe - Profihost AG
Am 29.07.2016 um 23:03 schrieb Josef Bacik: > On 07/29/2016 03:14 PM, Omar Sandoval wrote: >> On Fri, Jul 29, 2016 at 12:11:53PM -0700, Omar Sandoval wrote: >>> On Fri, Jul 29, 2016 at 08:40:26PM +0200, Stefan Priebe - Profihost >>> AG wrote: Dear list, i'm seeing btrfs no space

Re: memory overflow or undeflow in free space tree / space_info?

2016-07-29 Thread Holger Hoffstätte
On Fri, 29 Jul 2016 22:57:36 +, Holger Hoffstätte wrote: > The only other patch I just found missing and which looks like it > could/should (I think?) work on top of the 4.4.x pagesize-based > calculations in file.c is: > > a2af23b7 "__btrfs_buffered_write: Pass valid file offset when >

Re: memory overflow or undeflow in free space tree / space_info?

2016-07-29 Thread Holger Hoffstätte
On Fri, 29 Jul 2016 17:03:43 -0400, Josef Bacik wrote: > On 07/29/2016 03:14 PM, Omar Sandoval wrote: >> On Fri, Jul 29, 2016 at 12:11:53PM -0700, Omar Sandoval wrote: >>> On Fri, Jul 29, 2016 at 08:40:26PM +0200, Stefan Priebe - Profihost AG >>> wrote: Dear list, i'm seeing btrfs

Re: memory overflow or undeflow in free space tree / space_info?

2016-07-29 Thread Josef Bacik
On 07/29/2016 03:14 PM, Omar Sandoval wrote: On Fri, Jul 29, 2016 at 12:11:53PM -0700, Omar Sandoval wrote: On Fri, Jul 29, 2016 at 08:40:26PM +0200, Stefan Priebe - Profihost AG wrote: Dear list, i'm seeing btrfs no space messages frequently on big filesystems (> 30TB). In all cases i'm

Re: memory overflow or undeflow in free space tree / space_info?

2016-07-29 Thread Stefan Priebe - Profihost AG
Am 29.07.2016 um 21:14 schrieb Omar Sandoval: > On Fri, Jul 29, 2016 at 12:11:53PM -0700, Omar Sandoval wrote: >> On Fri, Jul 29, 2016 at 08:40:26PM +0200, Stefan Priebe - Profihost AG wrote: >>> Dear list, >>> >>> i'm seeing btrfs no space messages frequently on big filesystems (> 30TB). >>> >>>

Re: memory overflow or undeflow in free space tree / space_info?

2016-07-29 Thread Stefan Priebe - Profihost AG
Am 29.07.2016 um 21:11 schrieb Omar Sandoval: > On Fri, Jul 29, 2016 at 08:40:26PM +0200, Stefan Priebe - Profihost AG wrote: >> Dear list, >> >> i'm seeing btrfs no space messages frequently on big filesystems (> 30TB). >> >> In all cases i'm getting a trace like this one a space_info warning. >>

Re: memory overflow or undeflow in free space tree / space_info?

2016-07-29 Thread Omar Sandoval
On Fri, Jul 29, 2016 at 12:11:53PM -0700, Omar Sandoval wrote: > On Fri, Jul 29, 2016 at 08:40:26PM +0200, Stefan Priebe - Profihost AG wrote: > > Dear list, > > > > i'm seeing btrfs no space messages frequently on big filesystems (> 30TB). > > > > In all cases i'm getting a trace like this one

Re: memory overflow or undeflow in free space tree / space_info?

2016-07-29 Thread Omar Sandoval
On Fri, Jul 29, 2016 at 08:40:26PM +0200, Stefan Priebe - Profihost AG wrote: > Dear list, > > i'm seeing btrfs no space messages frequently on big filesystems (> 30TB). > > In all cases i'm getting a trace like this one a space_info warning. > (since commit [1]). Could someone please be so kind

memory overflow or undeflow in free space tree / space_info?

2016-07-29 Thread Stefan Priebe - Profihost AG
Dear list, i'm seeing btrfs no space messages frequently on big filesystems (> 30TB). In all cases i'm getting a trace like this one a space_info warning. (since commit [1]). Could someone please be so kind and help me debugging / fixing this bug? I'm using space_cache=v2 on all those systems.