commit | 948f9b2eed7aeee6367957ea30be7a2da94d5b1b | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Feb 20 19:49:57 2007 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Feb 20 19:49:57 2007 +0100 |
tree | 0eb1bf3ff425eb44c02a5131060a349fab3e0c42 | |
parent | 6c23570dd5458d8f7c7086fb86675ce7b424d4fd [diff] |
mmap IO engine cannot extend a file We need to ftruncate it to the wanted size first, or the mmap write will terminate with SIGBUS. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>