commit | 334b4fc17275667b38ebfd719714dab0edb83c6a | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Tue Jun 02 15:34:41 2020 +0200 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri Jun 05 14:59:42 2020 -0400 |
tree | dd6366b202e6c05c3c770014e6e73fe8cd69f77a | |
parent | 33a180623b6c35f2727daecb63763955af3af1df [diff] |
dm ebs: use dm_bufio_forget_buffers Use dm_bufio_forget_buffers instead of a block-by-block loop that calls dm_bufio_forget. dm_bufio_forget_buffers is faster than the loop because it searches for used buffers using rb-tree. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>