Charles Kerr
43ed57b278
(trunk libT) #2955 "Lazy Verification (aka Just-in-Time Verification)" -- implemented.
2010-12-09 20:43:23 +00:00
Charles Kerr
9335e02e6d
(trunk libT) add some new bugs to the code so that it will crash when vraa tries to use it
2010-11-11 15:31:11 +00:00
Charles Kerr
6e29ad9459
(trunk libT) #3716 "take torrent priority into account when choosing which torrent to verify next" -- done.
2010-11-06 15:59:51 +00:00
Charles Kerr
851ed9f929
(trunk libT) #3622 "verification ignores return value of pread" -- commit fixVerify.patch
2010-10-19 13:56:58 +00:00
Charles Kerr
5c46cdb161
(trunk libT) remove dead variable pieceBytesRead from verify.c. Reported by Longinus00
2010-10-12 15:52:20 +00:00
Charles Kerr
e7cf05a6ba
(trunk libT) #3427 "use shortest-job-first scheduling for verifying local data" -- patch from wateenellende and sadface
2010-07-19 14:44:24 +00:00
Charles Kerr
254a1f15cb
(trunk libT) down the rabbit hole: various minor type correctness changes unearthed by -Wconversion
2010-06-30 16:40:19 +00:00
Charles Kerr
8a835610c6
(trunk libT) remove unused code
2010-06-28 13:42:45 +00:00
Charles Kerr
a1b85a633c
(trunk libT) #3234 "Checking existing data can show 100%" -- fixed in trunk for 2.00
2010-05-26 16:40:47 +00:00
Charles Kerr
035dea80df
(trunk libT) fix r10689 oops
2010-05-25 20:42:32 +00:00
Charles Kerr
25a5b2918a
(trunk libT) #3231 "Check existing data is extremely slow" -- increase the read buffer size as suggested by eridius
2010-05-25 20:19:34 +00:00
Charles Kerr
d0873d8369
(trunk libT) reduce the period to sleep per second during verification from 200 msec to 100 msec
2010-04-28 19:04:09 +00:00
Charles Kerr
c615514944
(trunk libT) add a wrapper function tr_valloc() to try posix_memalign(), getpagesize(), valloc() etc
2010-02-23 06:06:45 +00:00
Mitchell Livingston
3ff11837d4
disable posix_memalign() on Mac - it requires 10.6
2010-02-22 02:36:17 +00:00
Mitchell Livingston
b562dc13ec
Mac has getpagesize() and posix_memalign()
2010-02-22 02:21:50 +00:00
Charles Kerr
204243c5bd
(trunk libT) #2952 : "When possible, use posix_memalign() instead of valloc()" -- fixed in trunk for 1.91
2010-02-22 01:01:59 +00:00
Charles Kerr
c0cf694b85
(trunk libT) optimize out some unnecessary cycles when there are missing files in a torrent being verified
2010-02-13 05:46:31 +00:00
Charles Kerr
adc7d6f8a4
(trunk libT) minor tweak to verify: use tr_pread() instead of lseek+read
2010-02-12 21:06:21 +00:00
Charles Kerr
d3ae2cf696
(trunk libT) use valloc() and st.st_blksize when verifying local data
2010-02-12 19:59:30 +00:00
Charles Kerr
5c26afdb52
happy new year!
2010-01-04 21:00:47 +00:00
Charles Kerr
283b6d6a36
(trunk libT) rename tr_wait() tr_wait_msec()
2010-01-01 22:30:36 +00:00
Mitchell Livingston
8dbfb708f5
#2696 posix_fadv_dontneed undeclared
2009-12-25 15:48:41 +00:00
Eric Petit
a91c5e44e3
build fix
2009-12-16 07:47:04 +00:00
Charles Kerr
122d69d013
(trunk libT) try not to cache file data read in during verification
2009-12-16 06:34:17 +00:00
Charles Kerr
78ead8c3dd
(trunk) update the copyright notices
2009-12-05 02:19:24 +00:00
Charles Kerr
e1c6b792aa
(trunk libT) #2610 "avoid unnecessary calls to time(NULL)"
2009-11-26 18:47:08 +00:00
Charles Kerr
05c77cc975
(trunk) #1483 : move completed torrents to a user-specified directory + #629 : different file extension for incomplete files
2009-10-19 05:05:00 +00:00
Charles Kerr
504eaa6410
(trunk, libT) #2425 : New torrents are verified after pause.
2009-10-11 03:10:17 +00:00
Charles Kerr
fa1fa11fdb
(trunk, libT) #2390 : when you add a new torrent while one is verifying local data, the new torrent will be added on wait list, rather than download automatically. (Reported by Adys in irc)
2009-09-09 12:44:11 +00:00
Charles Kerr
c930f805cb
(trunk libT) #2383 : Faster verification for local data with small piece size
2009-09-06 14:05:06 +00:00
Charles Kerr
f7129f2f30
(trunk libT) #2335 : when verifying local data, pause a few msec between pieces to give the system some breathing room and other processes a shot at the disk IO
2009-08-14 20:55:22 +00:00
Charles Kerr
24bb159bfe
(trunk libT) #2137 : .resume file gets saved too frequently
2009-08-07 05:29:37 +00:00
Charles Kerr
87a7bf043a
(trunk libT) possible fix for #2238 as suggested by kjg
2009-08-03 16:24:44 +00:00
Charles Kerr
1ae47c697d
(trunk) silence some minor gcc warnings
2009-06-23 14:15:23 +00:00
Charles Kerr
eb30e24be0
(trunk libT) #1916 : 'Phantom' Verifying appears if already another verify in progress
2009-05-13 18:37:56 +00:00
Charles Kerr
698aa192aa
(trunk libT) convert tr_open_file_for_scanning() and tr_close_file() to use file descriptors instead of file pointers so that we don't have to mix and match between them
2009-04-26 20:44:18 +00:00
Charles Kerr
a84a1720a7
(trunk libT) experimental commit for wereHamster
2009-04-26 16:14:47 +00:00
Charles Kerr
d99438bd1c
(trunk libT) need feedback from Mac users on this change. On Linux, it gets rid of the inactive-memory-grows-during-torrent-verification behavior that's often reported as a bug.
2009-04-26 00:51:51 +00:00
Charles Kerr
bee21fb545
(trunk libT) #1992 : try to cleanly destroy the "verify local data" thread on shutdown
2009-04-16 13:10:25 +00:00
Charles Kerr
87e4c99fbb
(trunk libT) #1976 : build problem with r8173: "erreur: ‘POSIX_FADV_SEQUENTIAL’ undeclared"
2009-04-07 20:25:32 +00:00
Charles Kerr
30bb6b3ecf
(trunk libT) yet another fix found by RolCol
2009-04-07 04:23:04 +00:00
Charles Kerr
0746a8eafa
(trunk libT) posix_fadvise() tweak to the new verify code.
2009-04-06 23:51:55 +00:00
Charles Kerr
62395da3be
(trunk libT) faster code for verifying entire torrents. Timing tests @ http://transmission.pastebin.com/m4e1d6ee
2009-04-06 04:02:51 +00:00
Charles Kerr
cc1a4ec1e9
(trunk) rpc changes:
...
1. new field "blocklist-size" to session-info, so RPC clients can know how big the blocklist is
2. new method "torrent-reannounce" so RPC clients can ask the tracker for more peers
2009-03-26 18:06:54 +00:00
Charles Kerr
6c7097d1f4
(trunk libT) more assertions
2009-01-30 00:41:08 +00:00
Charles Kerr
fe816d8135
(trunk) update the GPL code's copyright dates
2009-01-10 23:09:07 +00:00
Charles Kerr
199e38dd66
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_completion, contain the it directly rather than a pointer to one allocated elsewhere on the heap.
2009-01-02 17:01:55 +00:00
Charles Kerr
5381e20e9b
(trunk libT) improve piece verification speed by providing a larger buffer, and add a mechanism to reuse it when verifying an entire torrent at once.
2008-12-31 18:08:13 +00:00
Charles Kerr
9594112d27
updated email address
2008-12-16 00:20:44 +00:00
Charles Kerr
f2a933fb77
#1308 : Transmission forgets it's verifying data
2008-10-28 15:13:07 +00:00