[Xen-devel] [PATCH RFC 20/39] xen-blkback: module_exit support

2019-02-20 Thread Joao Martins
Implement module_exit to allow users to do module unload of blkback. We prevent users from module unload whenever there are still interfaces allocated, in other words, do module_get on xen_blkif_alloc() and module_put on xen_blkif_free(). Signed-off-by: Joao Martins --- drivers/block/xen-blkbac

Re: [Xen-devel] [PATCH RFC 20/39] xen-blkback: module_exit support

2019-02-25 Thread Konrad Rzeszutek Wilk
On Wed, Feb 20, 2019 at 08:15:50PM +, Joao Martins wrote: > > Implement module_exit to allow users to do module unload of blkback. > We prevent users from module unload whenever there are still interfaces > allocated, in other words, do module_get on xen_blkif_alloc() and > module_put on xen_b

Re: [Xen-devel] [PATCH RFC 20/39] xen-blkback: module_exit support

2019-02-26 Thread Joao Martins
On 2/25/19 6:57 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Feb 20, 2019 at 08:15:50PM +, Joao Martins wrote: >> >> Implement module_exit to allow users to do module unload of blkback. >> We prevent users from module unload whenever there are still interfaces >> allocated, in other words, do mod