qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RESEND v2] block/nvme: introduce PMR support from NVMe 1.4 sp


From: Andrzej Jakowski
Subject: Re: [PATCH RESEND v2] block/nvme: introduce PMR support from NVMe 1.4 spec
Date: Wed, 11 Mar 2020 08:47:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 3/11/20 2:20 AM, Stefan Hajnoczi wrote:
> Oh, I think I see what you mean.  That is not how the term
> "preallocated" is usually used in POSIX file systems.  File systems
> have sparse files by default and the term preallocation is used in the
> context of fadvise(2) for reserving space.
> 
> In this case I think you're saying the file cannot grow.  That is
> implicit since the BAR can't grow either so you could drop the comment
> about preallocation.

Yes, there is no need to have file preallocated in POSIX meaning. Actaul
requirement is to have file that is multiple of MiB and power-of-two in size.
User may (but may not need to) use fallocate/fadvise to fulfill this 
requirement.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]