Re: [RFC] aio: remove retry and cancel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Benjamin LaHaise <bcrl@xxxxxxxxx> writes:

> On Mon, Oct 15, 2012 at 05:27:44PM -0700, Zach Brown wrote:
>> The possibility of removing retry and cancelation came up a few times
>> plumbers this year.  I finally gave it a try.
>> 
>> Removing retry is a good iea.  It's of little value because retry
>> happens in a kernel thread, not in the submitter's task.
>
> Getting rid of retry is probably a good idea.
>
>> I'm ambivalent about removing cancelation.  The code is almost
>> never used, though, so I figured it'd be interesting to see
>> if we can get away with getting rid of it.
>
> Canellation *cannot* be removed.  If you remove cancellation, processes 
> with outstanding ios at exit() time will never release their resources.

Please explain.  wait_for_active_reqs will wait until all outstanding
I/O has completed before returning.  What resources do you think will be
left?

Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux