Re: [PATCH 0/2] swim3: use blk_end_request_all()

From: Tejun Heo
Date: Tue May 12 2009 - 18:57:22 EST


Hello,

FUJITA Tomonori wrote:
>> It won't be freed. The current segment will be failed and the next
>> segment of the request will be tried on the next iteration, which was
>> the original behavior. ie. it always fails requests
>> segment-by-segment and hitting max retry count doesn't fail the whole
>> request.
>
> Ah, I see. Thanks, then the current code is fine.
>
> Well, it might be better to update some of the description of
> blk_update_request, e.g., "the special helper function is only for
> request stacking drivers".

Maybe but it encapsulates request details pretty well, so I wouldn't
really mind if it's used for other purposes (e.g. delaying actual
completion to ease internal bookkeeping).

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/