[PATCH v3 0/3] block: avoid to call .bi_end_io() recursively

2016-04-27 Thread Ming Lei
Hi, The 1st patch handles bio error in dio_end_io() which is only used by btrfs. The 2nd patch uses bio_endio() to call .bi_end_io() in dio_end_io(). The 3rd patch avoids to call .bi_end_io recursively in complete path. xfstests(-g auto) is run over ext4, xfs and btrfs with this patchset and no

Re: [PATCH v3 0/3] block: avoid to call .bi_end_io() recursively

2016-05-02 Thread Christoph Hellwig
On Thu, Apr 28, 2016 at 09:09:00AM +0800, Ming Lei wrote: > The 3rd patch avoids to call .bi_end_io recursively in complete path. Care to explain what the reason for doing that is? If we have excessively long bi_end_io chains we should probably look into fixing them instead.