Re: [PATCH v2] block: fix trace completion for chained bio

2021-03-22 Thread NeilBrown
On Wed, Mar 03 2021, edwardh wrote: > From: Edward Hsieh > > For chained bio, trace_block_bio_complete in bio_endio is currently called > only by the parent bio once upon all chained bio completed. > However, the sector and size for the parent bio are modified in bio_split. > Therefore, the size

Re: [PATCH v2] block: fix trace completion for chained bio

2021-03-16 Thread Edward Hsieh
Hi Jens and Neil, Is there any feedback on this patch? Thank you, Edward Hsieh On 3/3/2021 11:22 AM, Edward Hsieh wrote: From: Edward Hsieh For chained bio, trace_block_bio_complete in bio_endio is currently called only by the parent bio once upon all chained bio completed. However, the sect

[PATCH v2] block: fix trace completion for chained bio

2021-03-03 Thread edwardh
From: Edward Hsieh For chained bio, trace_block_bio_complete in bio_endio is currently called only by the parent bio once upon all chained bio completed. However, the sector and size for the parent bio are modified in bio_split. Therefore, the size and sector of the complete events might not matc