diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2021-06-06 22:13:16 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-06-14 17:45:30 +0200 |
commit | 991bd8d7bc78966b4dc427b53a144f276bffcd52 (patch) | |
tree | 2aa4fcb0d1d5d83b9e63fcfd00b12a792089e5c4 /drivers/regulator/cpcap-regulator.c | |
parent | dm writecache: remove unused gfp_t argument from wc_add_block() (diff) | |
download | linux-991bd8d7bc78966b4dc427b53a144f276bffcd52.tar.xz linux-991bd8d7bc78966b4dc427b53a144f276bffcd52.zip |
dm writecache: commit just one block, not a full page
Some architectures have pages larger than 4k and committing a full
page causes needless overhead.
Fix this by writing a single block when committing the superblock.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/regulator/cpcap-regulator.c')
0 files changed, 0 insertions, 0 deletions