Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 243d62f3 authored by Jan Kara's avatar Jan Kara Committed by TARKZiM
Browse files

writeback: Do not sort b_io list only because of block device inode



It is very likely that block device inode will be part of BDI dirty list
as well. However it doesn't make sence to sort inodes on the b_io list
just because of this inode (as it contains buffers all over the device
anyway). So save some CPU cycles which is valuable since we hold relatively
contented wb->list_lock.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Change-Id: I7325986271c67330a3573c3dfef63ea373e084df
parent 495d9e86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment