Project

General

Profile

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?

Added by yi yuan over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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.

1f49d52e3c314220678283bc93e5345.png View (78.5 KB) yi yuan, 10/22/2021 11:12 AM

History

#1 Updated by yi yuan over 2 years ago

ok, i find the reason.

Also available in: Atom PDF