diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2025-06-19 19:18:06 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-06-23 12:45:14 +0200 |
commit | f4265b8d32c49ff95711e6fef7d05245a2905b30 (patch) | |
tree | e8420d212f12379e272fa36e4cf03493a83f771c /lib/crypto/mpi/mpiutil.c | |
parent | 912b6038fe5c985fac06285f8019fd74cab67e81 (diff) |
ext4: add FALLOC_FL_WRITE_ZEROES support
Add support for FALLOC_FL_WRITE_ZEROES if the underlying device enable
the unmap write zeroes operation. This first allocates blocks as
unwritten, then issues a zero command outside of the running journal
handle, and finally converts them to a written state.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://lore.kernel.org/20250619111806.3546162-10-yi.zhang@huaweicloud.com
Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions