On Wed, Dec 12, 2007 at 08:18:14AM -0700, Matthew Wilcox wrote:Hm. BIO_RW_AHEAD seems unused: willy@honeydew:~/kernel/linux-2.6$ grep -r BIO_RW_AHEAD * block/blktrace.c: (((rw) & (1 << BIO_RW_AHEAD)) << (2 - BIO_RW_AHEAD)) include/linux/bio.h:#define BIO_RW_AHEAD 1 include/linux/bio.h:#define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD)) willy@honeydew:~/kernel/linux-2.6$ grep -r bio_rw_ahead * block/ll_rw_blk.c: if (bio_rw_ahead(bio) || bio_failfast(bio)) drivers/md/dm-mpath.c: if ((error == -EWOULDBLOCK) && bio_rw_ahead(bio)) drivers/md/multipath.c: else if (!bio_rw_ahead(bio)) { include/linux/bio.h:#define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD)) BIO_RW_BARRIER seems to be __REQ_HARDBARRIER, but we set it explicitly in init_request_from_bio(). We could probably simplify init_request_from_bio() with the patch in the previous message. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Andi Kleen | Re: [PATCH] x86: Construct 32 bit boot time page tables in native format. |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: Possible regression in HTB |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
git: | |
