Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sbull: Update sbull_make_request function to make_request_fn new signature | Javier Martinez Canillas | 2012-05-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> | ||||
* | sbull: Use blk_fetch_request instead blk_peek_request to dequeue requests | Javier Martinez Canillas | 2011-01-08 | 1 | -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 wrapper | Javier Martinez Canillas | 2011-01-08 | 1 | -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 Canillas | 2011-01-08 | 1 | -1/+1 |
| | | | | kobject_put(q->kobj) instead | ||||
* | sbull: Change script from sh to bash | Javier Martinez Canillas | 2010-12-29 | 1 | -1/+1 |
| | |||||
* | sbull: Update struct block_device_operations handlers signatures | Javier Martinez Canillas | 2010-12-10 | 1 | -8/+8 |
| | |||||
* | sbull: Make scripts files executable | Javier Martinez Canillas | 2010-12-10 | 2 | -0/+0 |
| | |||||
* | sbull: Replace bio_cur_sectors() with bio_cur_bytes() and use unwrapped ↵ | Javier Martinez Canillas | 2010-12-10 | 1 | -4/+4 |
| | | | | macro __rq_for_each_bio() | ||||
* | sbull: Use blk_queue_logical_block_size() instead of blk_queue_hardsect_size() | Javier Martinez Canillas | 2010-12-09 | 1 | -1/+1 |
| | |||||
* | sbull: More changes due new block layer request queue API interface | Javier Martinez Canillas | 2010-12-08 | 1 | -6/+6 |
| | |||||
* | sbull: Change according to the new block layer request queue API ↵ | Javier Martinez Canillas | 2010-12-08 | 1 | -3/+3 |
| | | | | (http://lwn.net/Articles/333620/) | ||||
* | sbull: Change request_queue_t to struct request_queue | Javier Martinez Canillas | 2010-12-07 | 1 | -2/+2 |
| | |||||
* | sbull: Change request_queue_t to struct request_queue | Javier Martinez Canillas | 2010-12-07 | 1 | -1/+1 |
| | |||||
* | sbull: Remove <linux/config.h> header | Javier Martinez Canillas | 2010-12-07 | 1 | -1/+0 |
| | |||||
* | sbull: Makefile: Change CFLAGS to EXTRA_CFLAGS | Javier Martinez Canillas | 2010-12-07 | 1 | -3/+3 |
| | |||||
* | Linux Device Drivers 3 examples | Javier Martinez Canillas | 2010-11-27 | 5 | -0/+629 |