commit | 155bd9d1abd60497f3e84ef3251b40209f7f7900 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Sep 25 18:06:17 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 05 10:38:33 2020 -0600 |
tree | 38300a8cf8b17645357c9905e4e6d78927a77f56 | |
parent | 76cffccd606acffde1b91e8b029b39b5fd1a3117 [diff] |
drbd: remove ->this_bdev DRBD keeps a block device open just to get and set the capacity from it. Switch to primarily using the disk capacity as intended by the block layer, and sync it to the bdev using revalidate_disk_size. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>