Thread (3 messages) 3 messages, 3 authors, 2021-02-22

Re: [PATCH] block: Remove unused blk_pm_*() function definitions

flat view

From: Chaitanya Kulkarni <hidden>
Date: 2021-02-22 03:54:07

On 2/21/21 18:29, Bart Van Assche wrote:
Commit a1ce35fa4985 ("block: remove dead elevator code") removed the last
callers of blk_pm_requeue_request(), blk_pm_add_request() and
blk_pm_put_request(). Hence remove the definitions of these functions.
Removing these functions removes all users of the struct request nr_pending
member. Hence also remove 'nr_pending'. Note: 'nr_pending' is no longer
used since commit 7cedffec8e75 ("block: Make blk_get_request() block for
non-PM requests while suspended").

Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Looks good.

Reviewed-by: Chaitanya Kulkarni <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help