mirror of
https://github.com/schoebel/mars
synced 2024-12-21 14:21:07 +00:00
add fs.aio-max-nr into sysctl.d
This commit is contained in:
parent
dc2644d4d4
commit
dfb9ac7baf
3
debian/control
vendored
3
debian/control
vendored
@ -10,7 +10,8 @@ Homepage: http://schoebel.github.io/mars/
|
||||
|
||||
Package: mars-dkms
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${perl:Depends}
|
||||
Depends: ${misc:Depends}, ${perl:Depends}, procps
|
||||
Recommends: mars-tools
|
||||
Description: mars kernel module.
|
||||
MARS Light is a block-level storage replication solution implemented
|
||||
in the form of a Linux kernel module.
|
||||
|
2
debian/mars-dkms.postinst
vendored
2
debian/mars-dkms.postinst
vendored
@ -8,6 +8,8 @@ case "$1" in
|
||||
;;
|
||||
|
||||
configure|reconfigure)
|
||||
# Restart procps to reload sysctl.d files
|
||||
invoke-rc.d procps restart
|
||||
# Get the version of the current loaded module:
|
||||
old_version="$(cat /sys/module/mars/version 2>/dev/null)" || exit 0
|
||||
# Get the version of the latest available module:
|
||||
|
2
debian/mars-dkms.sysctl
vendored
Normal file
2
debian/mars-dkms.sysctl
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# System wide maximum number of asynchronous input/output requests
|
||||
fs.aio-max-nr = 1048576
|
1
debian/rules
vendored
1
debian/rules
vendored
@ -20,6 +20,7 @@ include /usr/share/dpkg/default.mk
|
||||
override_dh_install:
|
||||
cp debian/mars-Makefile kernel/Makefile
|
||||
cp debian/mars-Kbuild kernel/Kbuild
|
||||
install -m 644 -D debian/mars-dkms.sysctl debian/mars-dkms/etc/sysctl.d/30-mars-dkms.conf
|
||||
dh_install scripts/gen_config.pl usr/src/mars-$(DEB_VERSION_UPSTREAM)/
|
||||
dh_install kernel/* usr/src/mars-$(DEB_VERSION_UPSTREAM)/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user