Re: [PATCH 17/24] rbd: use set_capacity_and_notify

2020-11-11 Thread Jinpu Wang
On Wed, Nov 11, 2020 at 10:55 AM Ilya Dryomov wrote: > > On Wed, Nov 11, 2020 at 9:27 AM Christoph Hellwig wrote: > > > > Use set_capacity_and_notify to set the size of both the disk and block > > device. This also gets the uevent notifications for the resize for free. > > > > Signed-off-by:

Re: [PATCH 17/24] rbd: use set_capacity_and_notify

2020-11-11 Thread Ilya Dryomov
On Wed, Nov 11, 2020 at 9:27 AM Christoph Hellwig wrote: > > Use set_capacity_and_notify to set the size of both the disk and block > device. This also gets the uevent notifications for the resize for free. > > Signed-off-by: Christoph Hellwig > Acked-by: Jack Wang > --- > drivers/block/rbd.c

[PATCH 17/24] rbd: use set_capacity_and_notify

2020-11-11 Thread Christoph Hellwig
Use set_capacity_and_notify to set the size of both the disk and block device. This also gets the uevent notifications for the resize for free. Signed-off-by: Christoph Hellwig Acked-by: Jack Wang --- drivers/block/rbd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH 17/24] rbd: use set_capacity_and_notify

2020-11-09 Thread Ilya Dryomov
On Fri, Nov 6, 2020 at 8:04 PM Christoph Hellwig wrote: > > Use set_capacity_and_notify to set the size of both the disk and block > device. This also gets the uevent notifications for the resize for free. > > Signed-off-by: Christoph Hellwig > --- > drivers/block/rbd.c | 3 +-- > 1 file

[PATCH 17/24] rbd: use set_capacity_and_notify

2020-11-06 Thread Christoph Hellwig
Use set_capacity_and_notify to set the size of both the disk and block device. This also gets the uevent notifications for the resize for free. Signed-off-by: Christoph Hellwig --- drivers/block/rbd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/block/rbd.c