On Tue, Mar 15, 2016 at 3:33 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote: > >> There's no "group based containment wall" that is some kind of >> absolute protection border. > > Precisely my point - it's being pitched as a generic containment > mechanism, but it really isn't. No it hasn't. It has been pitched as "Companies are already doing this, and other groups are interested in it too". What part of that is hard to understand? At no point was it "generic containment" except in your mind. Everybody else was very clear about the fact that stale data would be visible. The only issue was to try to mitigate subtle mistakes. And no, "Root reads a file that has possibly stale data in it" is not a "subtle mistake". That's a rather obvious thing. > Making Google's hack more widely available through the fallocate > API is entirely dependent on proving that: > > a) the performance problem still exists; > b) the performance problem exists across multiple > filesytsems and is not isolated to just ext4 or one specific > set of workloads; > c) the performance problem cannot be fixed; > d) ext4 can't implement a simple feature check to turn off > unwritten extents similar to XFS; and > e) if all else fails, that the API hack does not compromise the > security of general users unaware that applications might > be using this functionality. > > a), b), c) and d) have not been demonstrated, discussed or iterated - The thing is, the onus of those shouldn't be on the people who already have a solution that they are happy with. The onus of that work should be on the people who are arguing against it, and have alternate models they want to push. So you can't ask people who already solved their issue to then try to argue against their solution. I do agree that it would be damn useful to have (a) numbers. No question about that. (b) we should have a better idea of exactly what the user needs are. Because if we do expose this kind of functionality, it should be as limited as possible - but that "as possible" very much depends on what the usage models are. And yes, "keep the patch entirely inside google" is obviously one good way to limit the interface. But if there are really other groups that want to explore this, then that sounds like a pretty horrible model too. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html