Re: [ANNOUNCE] Ext3 vs Reiserfs benchmarks

Matthias Andree (matthias.andree@stud.uni-dortmund.de)
Tue, 16 Jul 2002 21:26:51 +0200


On Tue, 16 Jul 2002, Thunder from the hill wrote:

> > if (fsync(fd) != 0)
> > err(1, "fsync %s", argv[1]);
> > close(fd);
> > }
>
> Pretty much the thing I had in mind, except that the close return code is
> disregarded here...

Indeed, but OTOH, what error is close to report when the file is opened
read-only?
-
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/