Commit Graph

150 Commits

Author SHA1 Message Date
Arvid Norberg 1b5ee819cd fixed unaligned disk access for unbuffered I/O in windows 2011-06-17 15:10:40 +00:00
Arvid Norberg 67b79cdd69 fix windows assert 2011-06-17 06:55:40 +00:00
Arvid Norberg d6c8184381 support locking files 2011-06-09 06:08:24 +00:00
Arvid Norberg e389f5963d added support for fadvise/F_RDADVISE for improved disk read performance 2011-04-26 07:03:05 +00:00
Arvid Norberg d0af936933 don't turn off read-ahead by default on files. Might impact hash checking 2011-04-25 02:15:18 +00:00
Arvid Norberg a7b8ae9e27 fixed BSD file allocation issue 2011-04-13 06:54:56 +00:00
Arvid Norberg 08c93978a6 clean up some dead code and fix windows build 2011-02-28 00:35:58 +00:00
Arvid Norberg ca106ca4e0 some warning fixes and cleanup 2011-02-24 04:25:35 +00:00
Arvid Norberg 141ada013f fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way 2011-02-21 05:24:41 +00:00
Arvid Norberg c4c1773ceb fixed some warnings 2011-02-15 10:05:25 +00:00
Arvid Norberg 7508038337 cross compiling fixes 2011-02-14 04:12:26 +00:00
Arvid Norberg 5864a883e6 fixed build warnings 2011-02-14 01:59:01 +00:00
Arvid Norberg ddd4d84a1d fixed mingw build 2011-02-02 07:41:32 +00:00
Arvid Norberg 4070c2d465 fixed stat_file issue on windows 2011-01-25 08:21:01 +00:00
Arvid Norberg 650f02eba7 fixed some windows build issues 2010-12-19 08:12:31 +00:00
Arvid Norberg d937716af0 use PtrToPtr64 for scatter/gather I/O operations 2010-11-22 00:54:39 +00:00
Arvid Norberg 7aa9352dd0 fixed file allocation issue on linux. fixed filname encoding issue with iconv() 2010-10-18 07:15:57 +00:00
Arvid Norberg 7be0604877 fixed error reporting when fallocate fails 2010-10-14 00:58:08 +00:00
Arvid Norberg 4aa809e558 potential 64 bit build issue related to zlib 2010-09-07 03:37:33 +00:00
Arvid Norberg 242392f895 added compiler warning when unicode isn't available 2010-06-06 01:18:58 +00:00
Arvid Norberg 9fd624ecb6 solaris build fixes 2010-05-02 22:26:43 +00:00
Arvid Norberg fea3bf2ced fixed build issue on windows related to GetCompressedSize() 2010-04-18 02:50:22 +00:00
Arvid Norberg 6851254fdf fixed FIEMAP support on linux 2010-04-11 00:48:48 +00:00
Arvid Norberg ef35360722 comment about posix_fallocate 2010-04-08 05:31:00 +00:00
Arvid Norberg 519d2e5819 clean up fallocate condition a bit 2010-04-08 05:09:11 +00:00
Arvid Norberg c51e0a2a86 fixed inconsistency when creating torrents with symlinks 2010-04-01 00:44:29 +00:00
Arvid Norberg 8fa2f26217 fixed bug in is_complete for windows 2010-03-21 17:40:15 +00:00
Arvid Norberg f28b9bb501 unbuffered mode for solaris 2010-03-21 17:26:21 +00:00
Arvid Norberg b2484ead10 only allocate a file if it's not already allocated (windows) 2010-03-20 08:18:49 +00:00
Arvid Norberg 6e3882a197 fixed bug in previous work-around 2010-03-08 02:55:16 +00:00
Arvid Norberg d73cf769f1 weird ubuntu std::string bug work-around 2010-03-07 21:59:02 +00:00
Arvid Norberg 8b4ce8deaa window build fix 2010-03-06 22:47:25 +00:00
Arvid Norberg ad5b0497c3 same thing but for windows (except checking if the file is fully allocated) 2010-03-06 20:47:44 +00:00
Arvid Norberg 247bd9256d fixed bug in fallocate usage and avoid trying to allocate and truncate files that don't need it to not update their modification time for no good reason 2010-03-06 20:09:18 +00:00
Arvid Norberg 08c8bfae29 more wide character and mingw fixes 2010-02-15 05:49:10 +00:00
Arvid Norberg fe5f908cc6 fixed MinGW support 2010-02-14 04:05:18 +00:00
Arvid Norberg 1b2798970c support O_NOATIME on linux and use it by default 2010-02-02 19:44:52 +00:00
Arvid Norberg c4bdd4debe fixed fallocate usage on linux distros that don't have it 2010-01-31 21:52:45 +00:00
Arvid Norberg 5471b098eb falloc build fix 2010-01-18 06:18:34 +00:00
Arvid Norberg f1be2c6b80 don't call posix_fallocate on linux if the file is fully allocated 2010-01-18 03:08:38 +00:00
Arvid Norberg 5d5ded4032 fix fallocate build with OSes that actually support it 2010-01-18 01:08:19 +00:00
Arvid Norberg 55aea5b863 improved fallocate support 2010-01-18 00:51:40 +00:00
Arvid Norberg 36809c7007 improve linux fiemap support 2010-01-17 21:56:24 +00:00
Arvid Norberg d498c129ab clear sparse flag on files that complete on windows 2010-01-09 18:40:05 +00:00
Arvid Norberg df2f2570c2 factor out page size function and make aligned allocator configurable to use posix_memalign and memalign 2009-12-09 01:55:30 +00:00
Arvid Norberg 39dae9e6dc some GCC 2.95 support fixes and some BeOS support 2009-11-28 22:41:21 +00:00
Arvid Norberg 1d6d11bf0c storage fix 2009-11-28 08:58:07 +00:00
Arvid Norberg e1aa90daab header dependency fixes 2009-11-26 21:05:57 +00:00
Arvid Norberg 562e2512b9 some vs2010 fixes 2009-11-22 23:55:54 +00:00
Arvid Norberg e9320371b8 fixed filename function 2009-11-02 04:08:37 +00:00