Tatsuhiro Tsujikawa
a5cc350dcf
2010-07-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
When allocating disk space, for Linux system with fallocate()
system call, first check file system supports fallocate. This
just run fallocate with small chunk and see it succeeds or fails.
If it succeeds, use fallocate() to allocate entire file otherwise
fall back to traditional slower method: writing zeros. This
behavior is enabled in --file-allocation=prealloc, so this is
enabled by default for most modern Linux.
* configure.ac
* src/AbstractDiskWriter.cc
* src/AbstractDiskWriter.h
* src/AbstractSingleDiskAdaptor.cc
* src/AdaptiveFileAllocationIterator.cc
* src/AdaptiveFileAllocationIterator.h
* src/DefaultPieceStorage.cc
* src/DiskAdaptor.cc
* src/DiskAdaptor.h
* src/FallocFileAllocationIterator.cc
* src/Makefile.am
* src/MultiFileAllocationIterator.cc
* src/OptionHandlerFactory.cc
* test/FallocFileAllocationIteratorTest.cc
* test/Makefile.am
2010-07-04 15:03:35 +00:00
..
2010-03-25 13:51:10 +00:00
2010-06-21 13:51:56 +00:00
2010-06-18 14:47:09 +00:00
2010-04-27 14:18:03 +00:00
2010-03-07 10:36:42 +00:00
2010-06-18 14:47:09 +00:00
2010-03-25 14:22:43 +00:00
2010-03-19 08:56:17 +00:00
2010-06-21 13:51:56 +00:00
2010-02-28 12:30:11 +00:00
2010-03-04 16:24:03 +00:00
2010-06-11 12:49:14 +00:00
2010-03-04 16:24:03 +00:00
2010-03-04 16:24:03 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-03-04 16:24:03 +00:00
2010-06-11 12:49:14 +00:00
2010-06-11 12:49:14 +00:00
2010-03-04 16:24:03 +00:00
2010-03-04 16:24:03 +00:00
2010-03-04 16:24:03 +00:00
2010-03-04 16:24:03 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-03-04 16:24:03 +00:00
2010-06-21 13:51:56 +00:00
2010-03-04 16:24:03 +00:00
2010-03-04 16:24:03 +00:00
2010-06-22 12:28:37 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-13 01:53:49 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-19 17:54:54 +00:00
2010-02-28 12:30:11 +00:00
2010-06-21 13:51:56 +00:00
2010-06-19 17:54:54 +00:00
2010-06-21 13:51:56 +00:00
2010-06-19 17:54:54 +00:00
2010-06-13 02:13:43 +00:00
2010-06-19 17:54:54 +00:00
2010-06-19 17:54:54 +00:00
2010-06-13 01:53:49 +00:00
2010-06-13 01:53:49 +00:00
2010-06-21 13:51:56 +00:00
2010-06-19 17:54:54 +00:00
2010-03-25 14:22:43 +00:00
2010-03-25 14:22:43 +00:00
2010-02-28 12:30:11 +00:00
2010-06-22 12:28:37 +00:00
2010-06-21 13:51:56 +00:00
2010-03-25 13:51:10 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-07-04 15:03:35 +00:00
2010-03-25 13:51:10 +00:00
2010-06-21 13:51:56 +00:00
2010-06-22 12:28:37 +00:00
2010-03-19 09:16:53 +00:00
2010-06-22 12:28:37 +00:00
2010-06-21 13:51:56 +00:00
2010-06-22 12:28:37 +00:00
2010-06-18 14:47:09 +00:00
2010-02-28 12:30:11 +00:00
2010-06-21 13:51:56 +00:00
2010-03-07 10:36:42 +00:00
2010-06-21 13:51:56 +00:00
2010-05-14 14:11:56 +00:00
2010-05-14 14:11:56 +00:00
2010-03-25 14:22:43 +00:00
2010-03-09 14:19:25 +00:00
2010-06-13 01:53:49 +00:00
2010-06-18 14:47:09 +00:00
2010-07-04 15:03:35 +00:00
2010-07-04 15:03:35 +00:00
2010-05-14 14:11:56 +00:00
2010-02-27 08:22:58 +00:00
2010-05-06 14:18:29 +00:00
2010-02-27 15:04:48 +00:00
2010-03-02 15:14:39 +00:00
2010-06-28 12:56:11 +00:00
2010-02-27 15:14:40 +00:00
2010-06-12 14:39:26 +00:00
2010-02-27 15:14:40 +00:00
2010-06-12 14:39:26 +00:00
2010-06-21 13:51:56 +00:00
2010-06-12 14:39:26 +00:00
2010-06-21 13:51:56 +00:00
2010-02-28 12:30:11 +00:00
2010-02-28 12:30:11 +00:00
2010-06-21 13:51:56 +00:00
2010-06-13 11:25:21 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-22 12:28:37 +00:00
2010-06-22 12:28:37 +00:00
2010-06-21 13:51:56 +00:00
2010-02-28 12:30:11 +00:00
2010-02-28 12:30:11 +00:00
2010-03-11 15:09:34 +00:00
2010-06-21 13:51:56 +00:00
2010-02-28 12:30:11 +00:00
2010-06-13 01:53:49 +00:00
2010-03-25 14:22:43 +00:00
2010-02-28 12:30:11 +00:00
2010-06-22 12:28:37 +00:00
2010-06-21 13:51:56 +00:00
2010-06-27 14:36:25 +00:00
2010-06-21 14:02:51 +00:00
2010-06-26 13:01:52 +00:00
2010-02-28 12:30:11 +00:00
2010-04-08 12:54:14 +00:00
2010-04-08 12:54:14 +00:00
2010-06-22 12:28:37 +00:00
2010-06-22 12:28:37 +00:00
2010-06-21 13:51:56 +00:00
2010-02-28 12:30:11 +00:00
2010-02-27 08:22:58 +00:00
2010-03-06 08:29:53 +00:00
2010-02-28 12:30:11 +00:00
2010-04-03 04:02:14 +00:00
2010-04-03 04:02:14 +00:00
2010-06-22 12:28:37 +00:00
2010-06-19 17:54:54 +00:00
2010-06-21 13:51:56 +00:00
2010-06-21 13:51:56 +00:00
2010-06-23 11:55:23 +00:00
2010-06-21 13:51:56 +00:00
2010-06-18 14:47:09 +00:00
2010-06-21 13:51:56 +00:00
2010-06-19 17:54:54 +00:00
2010-06-19 17:54:54 +00:00