Sept. 1, 2014
4:10 a.m.
On Sat, 30 Aug 2014 10:41:16 +0530, Joshi said:
I am trying to obtain file name at block layer level (above IO scheduler).
Nope. Won't work. There is no single unique name for a file. Consider: touch a ln a b There's now 2 names for the same inode. And why should the block level care about the file name, anyhow? It doesn't even know if it's a file or metadata... or even if there's a filesystem on the partition at all.....