]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/bio.c
block: add support for IO CPU affinity
[linux-2.6-omap-h63xx.git] / fs / bio.c
index bee4deca774aa0d7b98cfbe0f989ca65a1748322..6a637b5c24b5b8f859f8368e7b91e71706711f5c 100644 (file)
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -111,6 +111,7 @@ void bio_init(struct bio *bio)
 {
        memset(bio, 0, sizeof(*bio));
        bio->bi_flags = 1 << BIO_UPTODATE;
+       bio->bi_comp_cpu = -1;
        atomic_set(&bio->bi_cnt, 1);
 }