Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93736
b: refs/heads/master
c: c0674bf
h: refs/heads/master
v: v3
  • Loading branch information
Borislav Petkov authored and Bartlomiej Zolnierkiewicz committed Apr 27, 2008
1 parent 1d7a919 commit ef8fa59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 83042b241601170c95b448267861be10a6025b3c
refs/heads/master: c0674bf3b602c71f18ff1772fdfb4e7ea8ffbacc
17 changes: 0 additions & 17 deletions trunk/drivers/ide/ide-tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,23 +72,6 @@ enum {
#endif

/**************************** Tunable parameters *****************************/


/*
* Pipelined mode parameters.
*
* We try to use the minimum number of stages which is enough to keep the tape
* constantly streaming. To accomplish that, we implement a feedback loop around
* the maximum number of stages:
*
* We start from MIN maximum stages (we will not even use MIN stages if we don't
* need them), increment it by RATE*(MAX-MIN) whenever we sense that the
* pipeline is empty, until we reach the optimum value or until we reach MAX.
*/
#define IDETAPE_MIN_PIPELINE_STAGES 1
#define IDETAPE_MAX_PIPELINE_STAGES 400
#define IDETAPE_INCREASE_STAGES_RATE 20

/*
* After each failed packet command we issue a request sense command and retry
* the packet command IDETAPE_MAX_PC_RETRIES times.
Expand Down

0 comments on commit ef8fa59

Please sign in to comment.