Feature #53017
[RBD] when writing rbd_data to a mapped and mounted RBD image, striper::file_to_extents() and objecter::_calc_target() is not called?
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Description
if I use rbd-fuse and then write data, i can see the process of file_to_extents() and _calc_target() in client log. But rbd map pool_1/image_1, mkfs, mount, then write data, i can only see rbd_data.image_id.objectno in 'osd.log', i cant find it in client log.
our project need to make some change to the process of calc target osd. it works well in CephFS. but writing data to a mapped and mounted RBD image, it looks like striper::file_to_extents() and objecter::_calc_target() is not called, so the changed code doesn't work.
History
#1 Updated by yi yuan over 2 years ago
- File 1f49d52e3c314220678283bc93e5345.png View added
ok, i find the reason.