Re: [PATCH] Add option to keep memory-mapped files

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

 



On 07/28/2017 09:03 PM, sbates@xxxxxxxxxxxx wrote:
> From: Stephen Bates <sbates@xxxxxxxxxxxx>
> 
> By default file backed memory mappings are unlink()'ed after use. This
> flag allows us to optionally keep them around.
> 
> Discovered this when doing p2pmem testing and fio kept deleting the
> /dev/p2pmem0 files...

Instead of adding an option, why not only delete the file if fio
created it? That would make it work like people expect, without
requiring an option to do so.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux