1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/misc
David Teigland ca66d52032 io: use sync io if aio fails
io_setup() for aio may fail if a system has reached the
aio request limit.  In this case, fall back to using
sync io.  Also, lvm use of aio can be disabled entirely
with config setting global/use_aio=0.

The system limit for aio requests can be seen from
  /proc/sys/fs/aio-max-nr

The current usage of aio requests can be seen from
  /proc/sys/fs/aio-nr

The system limit for aio requests can be increased by
setting fs.aio-max-nr using sysctl.

Also add last-byte limit to the sync io code.
2018-11-20 09:13:20 -06:00
..
crc_gen.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
crc.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
crc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
intl.h doc: change fsf address 2016-01-21 12:11:37 +01:00
last-path-component.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lib.h device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
lvm-exec.c Merge branch 'master' into 2018-05-11-fork-libdm 2018-05-16 13:43:02 +01:00
lvm-exec.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-file.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
lvm-file.h log: separate output and make it possible to use given FDs 2016-08-09 18:24:45 +02:00
lvm-flock.c device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
lvm-flock.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-globals.c io: use sync io if aio fails 2018-11-20 09:13:20 -06:00
lvm-globals.h io: use sync io if aio fails 2018-11-20 09:13:20 -06:00
lvm-maths.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-maths.h lib: Move lcm and gcd to lib/misc for wider use. 2016-08-18 14:06:13 +01:00
lvm-percent.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-percent.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-signal.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-signal.h doc: change fsf address 2016-01-21 12:11:37 +01:00
lvm-string.c vdo: component activation of VDO data LV 2018-07-09 15:28:35 +02:00
lvm-string.h lvm-string: add function to detect component LV suffix 2017-12-19 15:28:07 +01:00
lvm-wrappers.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvm-wrappers.h fix: make udev_get_library_context available also for non-udev compilations 2016-04-01 15:35:22 +02:00
sharedlib.c Rework lock-override options and locking_type settings 2018-06-07 16:47:15 -05:00
sharedlib.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
util.h utils: add clzll 2018-06-22 23:37:02 +02:00