[systemd-devel] Antw: Re: Failed to open system journal: Invalid argument

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Wed May 22 09:06:18 UTC 2019


>>> Lennart Poettering <lennart at poettering.net> schrieb am 22.05.2019 um 10:34 in
Nachricht <20190522083459.GC30001 at gardel-login>:
> On Mi, 22.05.19 01:03, Kay One (kayone007 at gmail.com) wrote:
> 
>> Hi Lennart,
>>
>> Do you have any idea that UBIFS supports writable memory mappings or
>> not?
> 
> No idea, sorry!
> 
> This suggests that UBIFS treats mmap like any other fs would, and thus
> probably also supports mmap() just fine in writable mode and everything:
> 
> https://yaffs.net/lurker/message/20100616.081709.b6153097.en.html 


MHO: While any filesystem can in principle support mmap(), it only makes sense for filesystems that support sparse files. At least in general that's the expectation of using mmap() writes. Otherwise things may be unexpectedly slow (map a gig on such a filesystem, then write the last block)...

> 
> Lennart
> 
> --
> Lennart Poettering, Berlin
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org 
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel 






More information about the systemd-devel mailing list