Re: [PATCH 07/10] fs: introduce FALLOC_FL_WRITE_ZEROES to fallocate

2025-06-12 Thread Zhang Yi
On 2025/6/11 23:05, Darrick J. Wong wrote: > [cc linux-api about a fallocate uapi change] > > On Wed, Jun 04, 2025 at 10:08:47AM +0800, Zhang Yi wrote: >> From: Zhang Yi >> >> With the development of flash-based storage devices, we can quickly >> write zeros to SSDs using the WRITE_ZERO command i

Re: [PATCH 07/10] fs: introduce FALLOC_FL_WRITE_ZEROES to fallocate

2025-06-11 Thread Darrick J. Wong
[cc linux-api about a fallocate uapi change] On Wed, Jun 04, 2025 at 10:08:47AM +0800, Zhang Yi wrote: > From: Zhang Yi > > With the development of flash-based storage devices, we can quickly > write zeros to SSDs using the WRITE_ZERO command if the devices do not > actually write physical zeroe

[PATCH 07/10] fs: introduce FALLOC_FL_WRITE_ZEROES to fallocate

2025-06-03 Thread Zhang Yi
From: Zhang Yi With the development of flash-based storage devices, we can quickly write zeros to SSDs using the WRITE_ZERO command if the devices do not actually write physical zeroes to the media. Therefore, we can use this command to quickly preallocate a real all-zero file with written extent