]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: avoid trimming inodes on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 6 Sep 2022 14:53:14 +0000 (14:53 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 10 Nov 2022 07:38:13 +0000 (09:38 +0200)
commit13c11b681bd05fec2dabc3f35e9adca90902f207
treecc9190d2d280aa1a4d7a3816be25e299307f48af
parent363939d537d8866673e3d92caec5143e68d6ad5b
client: avoid trimming inodes on Windows

On Windows, ino_t is defined as "unsigned short" (2B), which
isn't large enough to hold the Ceph inodes (uint64_t).

For this reason, we'll avoid using ino_t on Windows.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/client/Client.cc