[memfs] Refine the max page limit on a memfs
When a memfs is created without an explicit max page limit, the fs assumes UINT64_MAX, which is confusing when manifested in QueryFilesystem calls. This patch refines the cap to the amount of available physical memory. Test: /boot/test/fs/memfs-test Change-Id: I10fada0b8b2eb7b33f270cd31c9d859157475c1d
Showing
- zircon/system/ulib/memfs/include/lib/memfs/memfs.h 7 additions, 1 deletionzircon/system/ulib/memfs/include/lib/memfs/memfs.h
- zircon/system/ulib/memfs/memfs-local.cpp 10 additions, 2 deletionszircon/system/ulib/memfs/memfs-local.cpp
- zircon/system/utest/memfs/fidl-tests.cpp 2 additions, 1 deletionzircon/system/utest/memfs/fidl-tests.cpp
Loading
Please register or sign in to comment