lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <op.thkz1adbiudtyh@master>
Date:	Tue, 17 Oct 2006 21:49:48 +0200
From:	"Thomas Maier" <balagi@...tmail.de>
To:	linux-kernel@...r.kernel.org
Cc:	petero2@...ia.com, akpm@...l.org,
	"Jens Axboe" <jens.axboe@...cle.com>
Subject: [PATCH 2/2] 2.6.19-rc2-mm1 pktcdvd: bio write congestion using blk_congestion_wait()

Hello,

this adds a bio write queue congestion control
to the pktcdvd driver with fixed on/off marks.
It prevents that the driver consumes a unlimited
amount of write requests.

Needs this patch named:
[PATCH 1/2] 2.6.19-rc2-mm1 ll_rw_blk.c: export clear_queue_congested and set_queue_congested

I hope this code is ok now ;)
(Maybe the surrounding spin_locks can be removed,
but for atomic access to bio_write_size etc., they may
be a good thing...)

Signed-off-by: Thomas Maier <balagi@...tmail.de>


Download attachment "2-wqueue-congestion-2.6.19-rc2-mm1.patch" of type "application/octet-stream" (3555 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ