Hi All,

I'm looking for a way to get a filename associated with a given physical block (ideally what I'd like is a mapping of filename <=> all the allocated blocks for this file).

Is there a recommended way to do this already in kernel? if not, then where should I start looking to add changes?

Help appreciated. Thanks.