* Sebastian Ott <seb...@linux.vnet.ibm.com> [2017-03-23 12:51:40 +0100]:
> On Fri, 17 Mar 2017, Dong Jia Shi wrote: > > For future code reuse purpose, this decouples the cio code with > > the ccw device specific parts from ccw_device_cancel_halt_clear, > > and makes a new common I/O interface named cio_cancel_halt_clear. > > > > Reviewed-by: Pierre Morel <pmo...@linux.vnet.ibm.com> > > Signed-off-by: Dong Jia Shi <bjsdj...@linux.vnet.ibm.com> > > Cc: Sebastian Ott <seb...@linux.vnet.ibm.com> > > Cc: Peter Oberparleiter <ober...@linux.vnet.ibm.com> > [...] > > +/** > > + * cio_cancel_halt_clear - Cancel running I/O by performing cancel, halt > > + * and clear ordinally if subchannel is valid. > > + * @sch: subchannel on which to perform the cancel_halt_clear operation > > + * @iretry: the number of the times remained to retry the next operation > > + * > > + * This should be called repeatedly since halt/clear are asynchronous > > + * operations. We do one try with cio_cancel, two tries with cio_halt, > ^ > three Ok. Nice catch! > > Acked-by: Sebastian Ott <seb...@linux.vnet.ibm.com> Thanks. -- Dong Jia Shi