Hi, On Tue, 2005-03-22 at 03:51, Andrew Morton wrote:
> The spec says "Write I/O operations on the file descriptor shall complete > as defined by synchronized I/O file integrity completion". > > Is ftruncate a "write I/O operation"? No. SUS seems to be pretty clear on this. The syscall descriptions for write(2) and pwrite(2) explicitly describe O_SYNC as requiring synchronized I/O file integrity completion. ftruncate() has no such requirement. It would certainly be a reasonable thing to do, but I don't think it strictly counts as a bug that we're not honouring O_SYNC here. --Stephen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/