(GIT-copy) Log


Commit Date  
[e403cd] (attic/trim_file) by Andreas Beckmann Andreas Beckmann

TRIM: Yes, we can! (works only as root, seems to be quite slow, but at least a start is there)

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2053 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 17:23:09 Tree
[4991f4] by Andreas Beckmann Andreas Beckmann

include guards

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2052 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 17:19:48 Tree
[b73ef0] by Andreas Beckmann Andreas Beckmann

C++ compatibility

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2051 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 17:19:25 Tree
[b4c95f] by Andreas Beckmann Andreas Beckmann

a bit of code extracted from hdparm.c from hdparm 9.27

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2050 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 17:19:01 Tree
[bf08d7] by Andreas Beckmann Andreas Beckmann

open the raw device

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2049 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 16:37:37 Tree
[98e9f2] by Andreas Beckmann Andreas Beckmann

a bit more code from hdparm 9.27

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2048 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 16:15:13 Tree
[1d0aa2] by Andreas Beckmann Andreas Beckmann

find the raw disk device

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2047 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 15:32:16 Tree
[0c62ea] by Andreas Beckmann Andreas Beckmann

look for the raw device of the file system partition

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2046 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 15:11:25 Tree
[40638c] by Andreas Beckmann Andreas Beckmann

find start lba address of the filesystem

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2045 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 14:26:01 Tree
[91ab8e] by Andreas Beckmann Andreas Beckmann

do not use sysfs

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2044 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 14:24:27 Tree
[16719a] by Andreas Beckmann Andreas Beckmann

some code borrowed from hdparm 9.27

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2043 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 14:21:29 Tree
[bb11b7] by Andreas Beckmann Andreas Beckmann

get LBA addresses (relative to partition start) for the discard ranges

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2041 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 12:42:35 Tree
[f10a8a] by Andreas Beckmann Andreas Beckmann

start framework for a syscall_file specialization that can issue TRIM requests

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2040 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 12:38:58 Tree
[77fb93] by Andreas Beckmann Andreas Beckmann

create trim_file branch

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/branches/trim_file@2039 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-15 12:29:47 Tree
[8660ca] by Andreas Beckmann Andreas Beckmann

allow the wbtl_file to be enabled/disabled (enabled by default)

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2033 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-14 11:27:23 Tree
[9c5fc4] by Andreas Beckmann Andreas Beckmann

introduce STXXL_HAVE_xxx_FILE, so the support decision logic is only needed once (and may be overridden)

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2032 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-14 11:10:16 Tree
[74b7f7] by Andreas Beckmann Andreas Beckmann

rename+change file::delete_region(offset_type, size_type) to file::discard(offset_type, offset_type)

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2031 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-13 10:39:50 Tree
[a20924] by Andreas Beckmann Andreas Beckmann

report more detailed timing

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2030 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-10 12:55:21 Tree
[b5a3a2] by Andreas Beckmann Andreas Beckmann

output formatting

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2029 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-10 11:49:09 Tree
[1d6e06] by Andreas Beckmann Andreas Beckmann

reindent

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2024 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-07 14:08:01 Tree
[1964ce] by Andreas Beckmann Andreas Beckmann

header/footer fixup

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2023 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-07 13:41:28 Tree
[9a0d53] by Andreas Beckmann Andreas Beckmann

move helper types to local namespace

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2022 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-07 13:36:09 Tree
[506ff1] by Andreas Beckmann Andreas Beckmann

drop unused code

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2019 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-07 13:12:01 Tree
[acb72c] by Andreas Beckmann Andreas Beckmann

measure total time over the loop and report throughput over wallclock time, too

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@2018 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-07 12:28:14 Tree
[78b943] by Andreas Beckmann Andreas Beckmann

more PR33361 fixup

git-svn-id: svn://svn.code.sf.net/p/stxxl/code/trunk@1997 4e380d45-d1fd-0310-85a7-d18ec86df0ad

2009-10-05 11:53:32 Tree
Older >