diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-09-15 14:01:40 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-09-15 14:01:40 +0200 |
commit | 27a84d54c02591e815d291ae0ee4bfb9cfd21065 (patch) | |
tree | a65129a8c7053241fe51886f279bb4522599b6b6 /block/blk-sysfs.c | |
parent | 5a7bbad27a410350e64a2d7f5ec18fc73836c14f (diff) |
block: refactor generic_make_request
Move all the checks performed on a bio into a new helper, and call it as
soon as bio is submitted even if it is a re-submission from ->make_request.
We explicitly mark the new helper as beeing non-inlined as the stack
usage for printing the block device name in the failure case is quite
high and this a patch where we have to be extremely conservative about
stack usage.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions