]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: add missing FileStream::get_size
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 11 Nov 2020 09:53:27 +0000 (09:53 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 18 Nov 2020 10:31:24 +0000 (10:31 +0000)
commitc17c53f460254c29e961227e19484c527fd08fc7
tree2b16a28eb14ace3dea9cf1b8e0202446456b12c5
parent8d35b2eceabafbe13458101f8701e3fc49f15d63
rbd: add missing FileStream::get_size

At the moment, a few methods will be stubbed if
BOOST_ASIO_HAS_POSIX_STREAM_DESCRIPTOR is undefined.

The issue is that FileStream::get_size is undefined, so we're
getting link issues on Windows.

In the future, we might consider using asio::windows::stream_handle
on Windows.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/librbd/migration/FileStream.cc