On Thu, Feb 07, 2019 at 10:52:33AM +0100, Carlos Maiolino wrote: > Btw, I am not saying I don't like the idea, I like it. What I was trying to do > was to avoid touching UAPI in this patchset. But... I'll try to implement your > idea here, send it to the list and raise my shields. Agreed. Please don't change the FIEMAP uapi. If we need to check for a request coming from bmap just defined an internal FIEMAP flag as the last available flag in the flags word, and reject it when it comes from userspace in fiemap.