commit | 49dcb9c786d39777d6000fa4706c9676271fdb09 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@kernel.org> | Fri Jun 11 15:39:47 2021 -0400 |
committer | Jeff Layton <jlayton@kernel.org> | Fri Jul 02 09:27:22 2021 -0400 |
tree | 86c53fa52ac8a2557b09226a38f979c33c8fb70b | |
parent | 73030114397ba7dc64831c5c51812ba57870cfe6 [diff] |
generic: add a test to ensure that page is properly filled before write We had a broken optimization in cephfs and netfs lib that could cause part of a page to be improperly zeroed-out when writing to an offset that was beyond the EOF but in an existing page. Add a simple test that would have caught this. Signed-off-by: Jeff Layton <jlayton@kernel.org>