Commit 1badcfbd authored by Jens Axboe's avatar Jens Axboe

block: fix long lines in block/blk-iopoll.c

Note sure why they happened in the first place, probably some bad
terminal setting.
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 5e605b64
...@@ -24,9 +24,9 @@ static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll); ...@@ -24,9 +24,9 @@ static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll);
* @iop: The parent iopoll structure * @iop: The parent iopoll structure
* *
* Description: * Description:
* Add this blk_iopoll structure to the pending poll list and trigger the raise * Add this blk_iopoll structure to the pending poll list and trigger the
* of the blk iopoll softirq. The driver must already have gotten a succesful * raise of the blk iopoll softirq. The driver must already have gotten a
* return from blk_iopoll_sched_prep() before calling this. * succesful return from blk_iopoll_sched_prep() before calling this.
**/ **/
void blk_iopoll_sched(struct blk_iopoll *iop) void blk_iopoll_sched(struct blk_iopoll *iop)
{ {
...@@ -44,7 +44,8 @@ EXPORT_SYMBOL(blk_iopoll_sched); ...@@ -44,7 +44,8 @@ EXPORT_SYMBOL(blk_iopoll_sched);
* @iop: The parent iopoll structure * @iop: The parent iopoll structure
* *
* Description: * Description:
* See blk_iopoll_complete(). This function must be called with interrupts disabled. * See blk_iopoll_complete(). This function must be called with interrupts
* disabled.
**/ **/
void __blk_iopoll_complete(struct blk_iopoll *iop) void __blk_iopoll_complete(struct blk_iopoll *iop)
{ {
...@@ -59,9 +60,10 @@ EXPORT_SYMBOL(__blk_iopoll_complete); ...@@ -59,9 +60,10 @@ EXPORT_SYMBOL(__blk_iopoll_complete);
* @iop: The parent iopoll structure * @iop: The parent iopoll structure
* *
* Description: * Description:
* If a driver consumes less than the assigned budget in its run of the iopoll * If a driver consumes less than the assigned budget in its run of the
* handler, it'll end the polled mode by calling this function. The iopoll handler * iopoll handler, it'll end the polled mode by calling this function. The
* will not be invoked again before blk_iopoll_sched_prep() is called. * iopoll handler will not be invoked again before blk_iopoll_sched_prep()
* is called.
**/ **/
void blk_iopoll_complete(struct blk_iopoll *iopoll) void blk_iopoll_complete(struct blk_iopoll *iopoll)
{ {
...@@ -151,13 +153,13 @@ EXPORT_SYMBOL(blk_iopoll_disable); ...@@ -151,13 +153,13 @@ EXPORT_SYMBOL(blk_iopoll_disable);
* @iop: The parent iopoll structure * @iop: The parent iopoll structure
* *
* Description: * Description:
* Enable iopoll on this @iop. Note that the handler run will not be scheduled, it * Enable iopoll on this @iop. Note that the handler run will not be
* will only mark it as active. * scheduled, it will only mark it as active.
**/ **/
void blk_iopoll_enable(struct blk_iopoll *iop) void blk_iopoll_enable(struct blk_iopoll *iop)
{ {
BUG_ON(!test_bit(IOPOLL_F_SCHED, &iop->state)); BUG_ON(!test_bit(IOPOLL_F_SCHED, &iop->state));
smp_mb__before_clear_bit(); smp_mb__before_clear_bit();
clear_bit_unlock(IOPOLL_F_SCHED, &iop->state); clear_bit_unlock(IOPOLL_F_SCHED, &iop->state);
} }
EXPORT_SYMBOL(blk_iopoll_enable); EXPORT_SYMBOL(blk_iopoll_enable);
...@@ -169,8 +171,8 @@ EXPORT_SYMBOL(blk_iopoll_enable); ...@@ -169,8 +171,8 @@ EXPORT_SYMBOL(blk_iopoll_enable);
* @poll_fn: The handler to invoke * @poll_fn: The handler to invoke
* *
* Description: * Description:
* Initialize this blk_iopoll structure. Before being actively used, the driver * Initialize this blk_iopoll structure. Before being actively used, the
* must call blk_iopoll_enable(). * driver must call blk_iopoll_enable().
**/ **/
void blk_iopoll_init(struct blk_iopoll *iop, int weight, blk_iopoll_fn *poll_fn) void blk_iopoll_init(struct blk_iopoll *iop, int weight, blk_iopoll_fn *poll_fn)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment