diff options
author | Josselin Poiret <dev@jpoiret.xyz> | 2021-11-15 20:26:29 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-11-23 10:24:27 +0100 |
commit | 0831dfab75b4db9c8bcbc9b2d1e52d8db54d0ad9 (patch) | |
tree | aef9cfe9d813c6ddbada36230eb07fa8fe9c4bea /tests/test.drv | |
parent | f574dbd163f8b2d417c6d7ee08559626ae52b7c5 (diff) | |
download | guix-0831dfab75b4db9c8bcbc9b2d1e52d8db54d0ad9.tar guix-0831dfab75b4db9c8bcbc9b2d1e52d8db54d0ad9.tar.gz |
system: Add swap flags.
* gnu/system/file-systems.scm (swap-space)[priority, discard?]: Add
them.
* guix/build/syscalls.scm (SWAP_FLAG_PREFER, SWAP_FLAG_PRIO_MASK,
SWAP_FLAG_PRIO_SHIFT, SWAP_FLAG_DISCARD): Add them.
* gnu/build/file-systems.scm (swap-space->flags-bit-mask): Add it.
* gnu/services/base.scm (swap-service-type): Use it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests/test.drv')
0 files changed, 0 insertions, 0 deletions