summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2020-10-28 10:24:34 +0300
committerJens Axboe <axboe@kernel.dk>2020-10-29 16:25:43 +0300
commitb40813ddcd6bf9f01d020804e4cb8febc480b9e4 (patch)
treeb2562d2892b8ff2ea7790c8fa4b6ec925eec9986 /scripts/bpf_helpers_doc.py
parent4977d121bc9bc5138d4d48b85469123001859573 (diff)
downloadlinux-b40813ddcd6bf9f01d020804e4cb8febc480b9e4.tar.xz
nbd: don't update block size after device is started
Mounted NBD device can be resized, one use case is rbd-nbd. Fix the issue by setting up default block size, then not touch it in nbd_size_update() any more. This kind of usage is aligned with loop which has same use case too. Cc: stable@vger.kernel.org Fixes: c8a83a6b54d0 ("nbd: Use set_blocksize() to set device blocksize") Reported-by: lining <lining2020x@163.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Cc: Josef Bacik <josef@toxicpanda.com> Cc: Jan Kara <jack@suse.cz> Tested-by: lining <lining2020x@163.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions