commit | c5de16cca2d7268833abfd6456d73fbba447c19b | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Mon Nov 26 12:46:20 2018 +0300 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Wed Feb 13 13:15:12 2019 +0100 |
tree | 3a2ab598c9b47a130a397b3369da4fccf8e8ef82 | |
parent | e2653bd53a98412ff2fc6fa6a6ed3934da04a3f3 [diff] |
fuse: Replace page without copying in fuse_writepage_in_flight() It looks like we can optimize page replacement and avoid copying by simple updating the request's page. [SzM: swap with new request's tmp page to avoid use after free.] Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>