lp:~canonical-scott/sreadahead/fixes

Created by Scott James Remnant (Canonical) on 2009-07-20 and last modified on 2009-07-23
Get this branch:
bzr branch lp:~canonical-scott/sreadahead/fixes
Only Scott James Remnant (Canonical) can upload to this branch. If you are Scott James Remnant (Canonical) please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott James Remnant (Canonical)
Project:
sreadahead
Status:
Development

Recent revisions

40. By Scott James Remnant (Canonical) on 2009-07-23

Revert r38, quick sort is not a stable sort and we need a stable
sort for this to ensure we keep first access time order

39. By Scott James Remnant (Canonical) on 2009-07-22

Begin work on HDD mode.

Rotary Hard Disk Drives (HDD) differ in behaviour to
Solid State Drives (SSD). Seek time is a killer, so the best performance
benefit is gained by reading everything in a single pass/thread while
remaining in the foreground.

(Running in the background, or multiple threads contending with each
 other, incurs a seek penalty)

This assumes that the pack file is pre-sorted into on-disk order

38. By Scott James Remnant (Canonical) on 2009-07-22

Use qsort rather than a custom function

37. By Scott James Remnant (Canonical) on 2009-07-20

Support the open TRACE_EVENT

36. By Scott James Remnant (Canonical) on 2009-07-20

Sleep forever with -t 0

35. By Scott James Remnant (Canonical) on 2009-07-20

Add --no-fork option

Sometimes it's useful (especially with --debug) for sreadahead to
remain in the foreground; also stop tracing with SIGINT (^C) when
doing this.

34. By Scott James Remnant (Canonical) on 2009-07-20

Replace SIGUSR1 with SIGTERM

SIGTERM makes far more sense than SIGUSR1 for a clean stop to tracing.

33. By Scott James Remnant (Canonical) on 2009-07-20

Place manual page in correct section.

sreadahead is a system administrator tool and is installed into
/sbin, it should be in section 8 (which is indeed what the manpage
actually says)

32. By Scott James Remnant (Canonical) on 2009-07-20

Remove -march=native from Makefile.

There's no reason to ship with this particular flag, it'll override any
distribution's default compiler flags and will result in the architecture
being set to that of the buildd, not the user's machine.

31. By parallellepipedum on 2009-05-14

use fstat info to ensure the file S_ISREG(), in order to prevent reading from a pipe (which would make sreadahead block).

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.