Skip to content

ide-tape: refit tape data buffer bits/kill pipelining

Borislav Petkov linux-ide lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ide-tape: improve buffer allocation strategydrivers/ide/ide-tape.c+36 -221 reply
2/5ide-tape: mv tape->stage_size tape->buffer_sizedrivers/ide/ide-tape.c+29 -290 replies
3/5ide-tape: mv tape->pages_per_stage tape->pages_per_bufferdrivers/ide/ide-tape.c+4 -50 replies
4/5ide-tape: improve buffer pages freeing strategydrivers/ide/ide-tape.c+19 -181 reply
5/5ide-tape: remove the last remains of pipeliningdrivers/ide/ide-tape.c+65 -2021 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ide-tape: refit tape data buffer bits/kill pipelining

Hi Bart,

This patchset refits the tape->merge_stage pipeline stage into tape->bh, a singly linked list of idetape_bh's, each of which is a tag attached to one or more pages serving as a buffer for data requests. The original functionality is kept wrt collecting data in the buffer and flushing it to the hardware when full.

Currently, the data rq's are serialized on the block interface and it would probably be better to return immediately after issuing it over ide_do_drive_cmd() in order to increase throughput, proper locking and testing implied of course.

 drivers/ide/ide-tape.c |  393 +++++++++++++++++-------------------------------
 1 files changed, 135 insertions(+), 258 deletions(-)