Re: [resent RFC 06/22] sata: call device_probe() after scanning

2021-10-07 Thread Ilias Apalodimas
[...] > > > + ret = device_probe(bdev); > > > + if (ret < 0) { > > > + debug("Can't probe\n"); > > > + /* TODO: undo create */ > > > + > > > + device_unbind(bdev); > > > + > > > + return ret; > > > + } > > > + > > > > Patches 2-6 seem to do the same

Re: [resent RFC 06/22] sata: call device_probe() after scanning

2021-10-04 Thread AKASHI Takahiro
On Mon, Oct 04, 2021 at 09:45:35PM +0300, Ilias Apalodimas wrote: > On Mon, Oct 04, 2021 at 12:44:14PM +0900, AKASHI Takahiro wrote: > > Every time a sata bus/port is scanned and a new device is detected, > > we want to call device_probe() as it will give us a chance to run additional > >

Re: [resent RFC 06/22] sata: call device_probe() after scanning

2021-10-04 Thread Ilias Apalodimas
On Mon, Oct 04, 2021 at 12:44:14PM +0900, AKASHI Takahiro wrote: > Every time a sata bus/port is scanned and a new device is detected, > we want to call device_probe() as it will give us a chance to run additional > post-processings for some purposes. > > In particular, support for creating

[resent RFC 06/22] sata: call device_probe() after scanning

2021-10-03 Thread AKASHI Takahiro
Every time a sata bus/port is scanned and a new device is detected, we want to call device_probe() as it will give us a chance to run additional post-processings for some purposes. In particular, support for creating partitions on a device will be added. Signed-off-by: AKASHI Takahiro ---