0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

writev can't write to different offsets

This commit is contained in:
Mathias Stearn 2010-12-28 11:47:33 -05:00
parent d3f77d95eb
commit a4045bc7cc

View File

@ -248,7 +248,6 @@ namespace mongo {
log() << ss.str() << endl;
}
if( apply ) {
//TODO(mathias) look into writev() on linux
File& file = getFile(entry.dbName, entry.e->getFileNo());
file.write(entry.e->ofs, entry.e->srcData(), entry.e->len);
}