]> git.karo-electronics.de Git - linux-beck.git/commit
rbd: revalidate_disk upon rbd resize
authorLaurent Barbe <laurent@ksperis.com>
Wed, 10 Apr 2013 22:47:46 +0000 (17:47 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:12 +0000 (21:19 -0700)
commitd98df63ea7e87d5df4dce0cece0210e2a777ac00
tree58ee9789a18c01c4f625719ffbb61fc71aef196a
parentf1a4739f333b519fe041e1ad81d9b31c94b9d6a3
rbd: revalidate_disk upon rbd resize

If rbd disk is open and rbd resize is done, new size is not
visible by filesystem.  Like is done in virtio-blk and dm driver,
revalidate_disk() permits to update the bd_inode size.

Signed-off-by: Laurent Barbe <laurent@ksperis.com>
Reviewed-by: Alex Elder <elder@inktank.com>
drivers/block/rbd.c