summaryrefslogtreecommitdiffstats
path: root/sbull
Commit message (Collapse)AuthorAgeFilesLines
* sbull: Update sbull_make_request function to make_request_fn new signatureJavier Martinez Canillas2012-05-061-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* sbull: Use blk_fetch_request instead blk_peek_request to dequeue requestsJavier Martinez Canillas2011-01-081-9/+6
| | | | | | | | | | | | | | | | | | | The block layer request API changes make a requirement for block drivers to dequeue requests before signal its completition. Commit 1dfd4ab138fc9f9cad869e6110022c7cfd5544d1 changed sbull to use the new block layer API. But the patch only renamed the functions while keeping the old driver semantics. It used blk_peek_request() that does the same that elv_next_request() did. Remove the request from the queue before is not only a recomendation but a true requirement. Attempting to complete a request that remains in the queue make the kernel oops. So the last commit introduced a Bug. This patch uses blk_fetch_request() instead of blk_peek_request(). blk_fetch_request() not only returns the request in the head of the queue but also removes the request from the queue so a latter signaling of the request completition doesn't hang the system.
* sbull: Remove blk_fs_request wrapperJavier Martinez Canillas2011-01-081-2/+2
| | | | | This wrapper doesn't exist anymore in current kernel (2.6.37) so so doesn't make any sense to know its existance.
* sbull: blk_put_queue() is not an exported symbol anymore. Use ↵Javier Martinez Canillas2011-01-081-1/+1
| | | | kobject_put(q->kobj) instead
* sbull: Change script from sh to bashJavier Martinez Canillas2010-12-291-1/+1
|
* sbull: Update struct block_device_operations handlers signaturesJavier Martinez Canillas2010-12-101-8/+8
|
* sbull: Make scripts files executableJavier Martinez Canillas2010-12-102-0/+0
|
* sbull: Replace bio_cur_sectors() with bio_cur_bytes() and use unwrapped ↵Javier Martinez Canillas2010-12-101-4/+4
| | | | macro __rq_for_each_bio()
* sbull: Use blk_queue_logical_block_size() instead of blk_queue_hardsect_size()Javier Martinez Canillas2010-12-091-1/+1
|
* sbull: More changes due new block layer request queue API interfaceJavier Martinez Canillas2010-12-081-6/+6
|
* sbull: Change according to the new block layer request queue API ↵Javier Martinez Canillas2010-12-081-3/+3
| | | | (http://lwn.net/Articles/333620/)
* sbull: Change request_queue_t to struct request_queueJavier Martinez Canillas2010-12-071-2/+2
|
* sbull: Change request_queue_t to struct request_queueJavier Martinez Canillas2010-12-071-1/+1
|
* sbull: Remove <linux/config.h> headerJavier Martinez Canillas2010-12-071-1/+0
|
* sbull: Makefile: Change CFLAGS to EXTRA_CFLAGSJavier Martinez Canillas2010-12-071-3/+3
|
* Linux Device Drivers 3 examplesJavier Martinez Canillas2010-11-275-0/+629