diff options
author | 2019-08-25 15:24:32 +0800 | |
---|---|---|
committer | 2019-08-26 10:54:41 -0400 | |
commit | 62421b3880c71da7ecbf9c4072dc64ef3e65ad0a (patch) | |
tree | 596013152e369e21cd0d41e34a1522c1b0ca1852 /scripts/gdb/linux/utils.py | |
parent | dm writecache: remove unused member pointer in writeback_struct (diff) | |
download | wireguard-linux-62421b3880c71da7ecbf9c4072dc64ef3e65ad0a.tar.xz wireguard-linux-62421b3880c71da7ecbf9c4072dc64ef3e65ad0a.zip |
dm writecache: add unlikely for getting two block with same LBA
In function writecache_writeback, entries g and f has same original
sector only happens at entry f has been committed, but entry g has
NOT yet.
The probability of this happening is very low in the following
256 blocks at most of entry e.
Signed-off-by: Huaisheng Ye <yehs1@lenovo.com>
Acked-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions