0

I have LBN->PBN map. LBN - Logical Block Number. PBN - Physical Block Number.

I can get each (LBN, PBN) entry from the above map. Is there any API that I can use to read the data from the actual block device using this PBN. I am currently working in the linux kernel code /drivers/md.

7jan
  • 11

1 Answers1

0

Try to look inside. I also grep thru sources and found a lot of accessor functions relative to fs. The Linux Kernel API

cosinus0
  • 601
  • 1
  • 4
  • 15