In fact we we already have that already in the XFS tree (Steve called it
do_generic_file_write although I'd really prefer __generic_file_write).
> > A little unrelated, but as you touch the code: what about removing the two
> > existing special cases for S_ISBLK() in generic_file_write()? they're
> > present only to provide the old (pre-LFS) blockdevice semantics on 2.4,
> > we shouldn't keept them around forever..
>
> hm. Are you sure about that? They look fairly useful to me?
The O_APPEND special casing is certainly very, very ugly - application
should use it on block devices at all - if they're screwed when doing it
anyway it's their problem.
And I think we can expect reasonable ulimits for root nowdays, although
I'm open for discussions on that one.
-
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/