From: Christoph Hellwig <hch@lst.de>
To: James.Bottomley@steeleye.com
Cc: linux-scsi@vger.kernel.org
Subject: [PATCH] kill blk_nohighio boot parameter
Date: Tue, 3 Jun 2003 23:23:04 +0200 [thread overview]
Message-ID: <20030603212303.GA9562@lst.de> (raw)
It was useful in 2.4 to debug the blockhighmem stuff but in 2.5
it's b0rked because doesn't have any implication except propagation
of the highmem_io flags from the scsi host template to the scsi
host structure. It also only worked on i386..
diff -Nru a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c
--- a/arch/i386/kernel/setup.c Tue Jun 3 01:32:46 2003
+++ b/arch/i386/kernel/setup.c Tue Jun 3 01:32:46 2003
@@ -96,7 +96,6 @@
extern void generic_apic_probe(char *);
extern int root_mountflags;
extern char _text, _etext, _edata, _end;
-extern int blk_nohighio;
unsigned long saved_videomode;
@@ -991,15 +990,6 @@
#endif
#endif
}
-
-static int __init highio_setup(char *str)
-{
- printk("i386: disabling HIGHMEM block I/O\n");
- blk_nohighio = 1;
- return 1;
-}
-__setup("nohighio", highio_setup);
-
#include "setup_arch_post.h"
/*
diff -Nru a/drivers/block/ll_rw_blk.c b/drivers/block/ll_rw_blk.c
--- a/drivers/block/ll_rw_blk.c Tue Jun 3 01:32:46 2003
+++ b/drivers/block/ll_rw_blk.c Tue Jun 3 01:32:46 2003
@@ -49,8 +49,6 @@
static int queue_nr_requests;
unsigned long blk_max_low_pfn, blk_max_pfn;
-int blk_nohighio = 0;
-
static wait_queue_head_t congestion_wqh[2];
/*
@@ -2361,7 +2359,6 @@
EXPORT_SYMBOL(blk_queue_segment_boundary);
EXPORT_SYMBOL(blk_queue_dma_alignment);
EXPORT_SYMBOL(blk_rq_map_sg);
-EXPORT_SYMBOL(blk_nohighio);
EXPORT_SYMBOL(blk_dump_rq_flags);
EXPORT_SYMBOL(submit_bio);
EXPORT_SYMBOL(blk_queue_assign_lock);
diff -Nru a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
--- a/drivers/scsi/hosts.c Tue Jun 3 01:32:46 2003
+++ b/drivers/scsi/hosts.c Tue Jun 3 01:32:46 2003
@@ -125,7 +125,6 @@
**/
struct Scsi_Host *scsi_host_alloc(Scsi_Host_Template *sht, int privsize)
{
- extern int blk_nohighio;
struct Scsi_Host *shost;
int gfp_mask = GFP_KERNEL, rval;
DECLARE_COMPLETION(complete);
@@ -186,8 +185,7 @@
shost->unchecked_isa_dma = sht->unchecked_isa_dma;
shost->use_clustering = sht->use_clustering;
shost->use_blk_tcq = sht->use_blk_tcq;
- if (!blk_nohighio)
- shost->highmem_io = sht->highmem_io;
+ shost->highmem_io = sht->highmem_io;
if (!sht->max_host_blocked)
shost->max_host_blocked = sht->max_host_blocked;
next reply other threads:[~2003-06-03 21:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-03 21:23 Christoph Hellwig [this message]
2003-06-04 7:45 ` [PATCH] kill blk_nohighio boot parameter Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2003-06-06 8:03 Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030603212303.GA9562@lst.de \
--to=hch@lst.de \
--cc=James.Bottomley@steeleye.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox