[Bugs] [Bug 1559794] weighted-rebalance

bugzilla at redhat.com bugzilla at redhat.com
Thu May 17 10:22:35 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1559794

Cnaik <chandranaik2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(rgowdapp at redhat.c
                   |                            |om)



--- Comment #44 from Cnaik <chandranaik2 at gmail.com> ---
(In reply to Raghavendra G from comment #41)
> Encoding of readdir response is a recursive function. The depth of the stack
> is directly proportional to the number of dentries in a readdir response.
> So, it can result in stack overflow if readdir happen to have too many
> dentries. A safer alternative would be to make this function iterative.

Could you please let us know the function to be made iterative?

We tried making gfx_defrag_fix_layout() recursive function to iterative - still
the test behavior is same.
Brick goes down before syncop_readdirp(called in while loop) returns in the
second call to gfx_defrag_fix_layout

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list