> I'm not sure what the point is. We've already agreed that the multiple OS
> instances will have synchonization to do for file operations, ftruncate
> being one of them.
That's nice. But said operation involves serious wanking with metadata
and _that_ would better have exclusion with write(2) and some warranties
about pageouts.
You can do lockless get_block() and truncate(). And it will be a hive
of races always ready to break out. We used to try that and it was
a fscking mess of unbelievable proportions - worse than that in full-blown
rename() support.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/