Re: Regression in btrfs: properly set the termination value of ctx->pos in readdir

2015-11-12 Thread David Sterba
On Wed, Nov 11, 2015 at 01:22:19PM +0100, Holger Hoffstätte wrote: > > the patch btrfs: properly set the termination value of ctx->pos in > > readdir introduces a regression to me. > > > > A lot of stuff runs in "endless" or long running loops. > > Just tested this and can confirm something is

Re: Regression in btrfs: properly set the termination value of ctx->pos in readdir

2015-11-12 Thread David Sterba
On Wed, Nov 11, 2015 at 12:57:30PM +0100, Stefan Priebe - Profihost AG wrote: > the patch btrfs: properly set the termination value of ctx->pos in > readdir introduces a regression to me. > > A lot of stuff runs in "endless" or long running loops. This might be related to the readdir fix but I

Re: Regression in btrfs: properly set the termination value of ctx->pos in readdir

2015-11-12 Thread Holger Hoffstätte
On 11/12/15 14:09, David Sterba wrote: > On Thu, Nov 12, 2015 at 11:35:23AM +0100, David Sterba wrote: >> On Wed, Nov 11, 2015 at 01:22:19PM +0100, Holger Hoffstätte wrote: the patch btrfs: properly set the termination value of ctx->pos in readdir introduces a regression to me.

Re: Regression in btrfs: properly set the termination value of ctx->pos in readdir

2015-11-12 Thread David Sterba
On Thu, Nov 12, 2015 at 11:35:23AM +0100, David Sterba wrote: > On Wed, Nov 11, 2015 at 01:22:19PM +0100, Holger Hoffstätte wrote: > > > the patch btrfs: properly set the termination value of ctx->pos in > > > readdir introduces a regression to me. > > > > > > A lot of stuff runs in "endless" or

Re: Regression in btrfs: properly set the termination value of ctx->pos in readdir

2015-11-11 Thread Holger Hoffstätte
On Wed, Nov 11, 2015 at 12:57 PM, Stefan Priebe - Profihost AG wrote: > Hi, > > the patch btrfs: properly set the termination value of ctx->pos in > readdir introduces a regression to me. > > A lot of stuff runs in "endless" or long running loops. Just tested this and can

Re: Regression in btrfs: properly set the termination value of ctx->pos in readdir

2015-11-11 Thread Stefan Priebe - Profihost AG
Hi, the patch btrfs: properly set the termination value of ctx->pos in readdir introduces a regression to me. A lot of stuff runs in "endless" or long running loops. An example strace looks like this: msgsnd(0, {1, "\3\0\0\0\247\r\0\0g8\0\0\0\0\0\0\0\0\0\0\345<\1\0\0\0\0\0\35\0\0\0"...}, 56, 0)