]> git.neil.brown.name Git - history.git/commit
[PATCH] Change MD Superblock IO to go straight to submit_bio
authorNeil Brown <neilb@cse.unsw.edu.au>
Sat, 18 May 2002 05:03:08 +0000 (22:03 -0700)
committerChristoph Hellwig <hch@sb.bsdonline.org>
Sat, 18 May 2002 05:03:08 +0000 (22:03 -0700)
commitbd415ca2e54b2b305aa4b3a9bec2bf67c3bedcbf
tree05af3721ba2c531a2516d25cfb41c6383fe80c6e
parentb51682c0e5057003cef712d5accd4cf76613bd90
[PATCH] Change MD Superblock IO to go straight to submit_bio

The current code hits the page cache for the block device
which requires memory allocation which can sometimes cause
a deadlock (if it blocks the raid5d thread).

This code takes the page that holds the superblock, and
passes it to submit_bh in a suitable bio wrapper.
drivers/md/md.c
include/linux/raid/md_k.h