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:
parent
d3f77d95eb
commit
a4045bc7cc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user