summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorMartijn Coenen <maco@android.com>2020-03-10 14:12:30 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-10 14:10:41 -0600
commit7e81f99afd91c937f0e66dc135e26c1c4f78b003 (patch)
tree4a2cf8b54c31648cc9d53190641bc6ac04d49add /ipc
parent596444e7570587867924c3ab025183b1a8726897 (diff)
loop: Only change blocksize when needed.
Return early in loop_set_block_size() if the requested block size is identical to the one we already have; this avoids expensive calls to freeze the block queue. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martijn Coenen <maco@android.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions