Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleanup!

  • Loading branch information...
commit 90ab29c8a146d047cb96a37afd91de90a5bf8047 1 parent cc8c3ff
@adessemond authored
View
28 sys-block/iscsitarget/files/iscsitarget-9999-blockio.c-new-plugging-method+linux-2.6.39.patch
@@ -1,28 +0,0 @@
---- kernel/block-io.c.orig 2011-05-20 19:03:02.570704797 -0400
-+++ kernel/block-io.c 2011-05-20 19:06:10.260395174 -0400
-@@ -56,6 +56,7 @@
- struct request_queue *bdev_q = bdev_get_queue(bio_data->bdev);
- struct tio_work *tio_work;
- struct bio *tio_bio = NULL, *bio = NULL, *biotail = NULL;
-+ struct blk_plug plug;
-
- u32 offset = tio->offset;
- u32 size = tio->size;
-@@ -77,6 +78,7 @@
- atomic_set(&tio_work->error, 0);
- atomic_set(&tio_work->bios_remaining, 0);
- init_completion(&tio_work->tio_complete);
-+ blk_start_plug(&plug);
-
- /* Main processing loop, allocate and fill all bios */
- while (tio_index < tio->pg_cnt) {
-@@ -127,8 +129,7 @@
- submit_bio(rw, bio);
- }
-
-- if (bdev_q && bdev_q->unplug_fn)
-- bdev_q->unplug_fn(bdev_q);
-+ blk_finish_plug(&plug);
-
- wait_for_completion(&tio_work->tio_complete);
-
View
11 sys-block/iscsitarget/files/iscsitarget-9999-iotype.c-rwlock+linux-2.6.39.patch
@@ -1,11 +0,0 @@
---- kernel/iotype.c.orig 2011-05-20 18:56:46.742302451 -0400
-+++ kernel/iotype.c 2011-05-20 19:02:00.659126352 -0400
-@@ -9,7 +9,7 @@
- #include "iscsi_dbg.h"
-
- static LIST_HEAD(iotypes);
--static rwlock_t iotypes_lock = RW_LOCK_UNLOCKED;
-+static DEFINE_RWLOCK(iotypes_lock);
-
- static struct iotype *find_iotype(const char *name)
- {
Please sign in to comment.
Something went wrong with that request. Please try again.