Commit Graph

32 Commits

Author SHA1 Message Date
Eliot Horowitz f0359e7b54 MongoFile::flushAll won't lock for entire flushing time 2010-07-26 16:06:49 -04:00
Mathias Stearn c6ed1eb85f Block writes when not holding write-lock in debug build 2010-06-24 11:05:10 -04:00
Eliot Horowitz f20f5b76f1 print filename for windows flush failure SERVER-1107 2010-05-10 11:26:08 -04:00
Dwight bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz 98f7edd4cd compile 2010-04-24 21:42:37 -04:00
Dwight Merriman 38d1bd875c fix compile for unix 2010-04-24 14:27:15 -04:00
Eliot Horowitz ae5e03de12 fix madvise if 2010-02-04 21:32:38 -05:00
Eliot Horowitz caadcee6f9 ifdef madvise 2010-02-04 17:24:22 -05:00
Eliot Horowitz 424e7d9585 sequential option for mmap SERVER-607 2010-02-04 17:12:14 -05:00
Eliot Horowitz 315995b8c7 better debugging for weird mmap issue 2009-12-28 17:46:41 -05:00
Eliot Horowitz 0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz 16b07128f3 fail faster on bad mmap data 2009-12-23 15:55:07 -05:00
Eliot Horowitz 8f1e01b0e4 macro for errno so messages are consistent and have full debugging 2009-12-21 10:06:14 -05:00
Eliot Horowitz 7564ceb774 better 32-bit error message 2009-12-01 16:48:40 -05:00
Eliot Horowitz d7280381df some threadsafety on memory mapped file static methods 2009-11-30 10:52:02 -05:00
Mathias Stearn d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Eliot Horowitz e48db1f60a replace cerr with cout for all server files 2009-10-16 11:39:59 -04:00
Eliot Horowitz bd018f61d5 long instead of int for file size 2009-07-09 16:56:34 -04:00
Aaron 64c5d55c59 don't seg fault when run out of disk space 2009-04-23 11:16:54 -04:00
Aaron f86d33372d update size in map and allocate asap interfaces 2009-04-15 16:11:54 -04:00
Aaron e8c1ce4dc1 Revert "Revert "do preallocation after initial allocation too, make file allocator interface more flexible""
This reverts commit 668cf57c52.
2009-04-15 16:10:34 -04:00
Aaron c99883578c Revert "Revert "allocate files in background""
This reverts commit e577a2c64e.
2009-04-15 16:10:21 -04:00
Aaron e577a2c64e Revert "allocate files in background"
This reverts commit 0033bd91df.
2009-04-15 15:40:16 -04:00
Aaron 668cf57c52 Revert "do preallocation after initial allocation too, make file allocator interface more flexible"
This reverts commit 5d9cb32605.
2009-04-15 15:39:57 -04:00
Aaron 5d9cb32605 do preallocation after initial allocation too, make file allocator interface more flexible 2009-04-15 14:57:37 -04:00
Aaron 0033bd91df allocate files in background 2009-04-15 11:58:38 -04:00
Aaron 59d34a2832 Validate length of allocated file 2009-04-01 10:51:55 -04:00
Aaron 892296218a Validate length of allocated file 2009-04-01 10:50:31 -04:00
Eliot Horowitz 62cab8c320 get rid of warnings 2009-02-06 15:08:53 -05:00
Dwight 94f125e855 new pagewriter
File class
sleepmillis fixed
2009-02-06 13:29:57 -05:00
Eliot Horowitz c18f2e4927 clean up mmap includes 2009-01-29 22:21:33 -05:00
Eliot Horowitz 9406c59f80 broke mmap into different .cpp files for different platforms 2009-01-29 17:22:59 -05:00