Linux Device Mapper development
 help / color / mirror / Atom feed
* thin_check doesn't use data space map to open data mapping tree
@ 2015-04-06 14:18 M.H. Tsai
  2015-04-07 10:12 ` Joe Thornber
  0 siblings, 1 reply; 2+ messages in thread
From: M.H. Tsai @ 2015-04-06 14:18 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 764 bytes --]

Hi All,

I found two doubtful points in thin-provisioning-tools,
which might need your help to provide some opinions:

1. thin_check doesn't open metadata and data space maps.
   It uses the core space_map to open the mapping_tree,
   instead of the data space map. Is that legal?
   (Although block_time_ref_counter was never used during tree traversal)

2. Class mapping_tree_detail::ll_damage_visitor should not be used to
traverse
   a single_mapping_tree. This class was designed for two-level data
mapping tree,
   or the top-level data mapping tree (i.e., mapping_tree and dev_tree
types).
   It generates missing_devices while visiting a damage with
zero-length-path,
   which is not semantically suitable for single_mapping_tree.


Thanks,
Ming-Hung Tsai

[-- Attachment #1.2: Type: text/html, Size: 1055 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-07 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-06 14:18 thin_check doesn't use data space map to open data mapping tree M.H. Tsai
2015-04-07 10:12 ` Joe Thornber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox