1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/config
Alasdair G Kergon 17649d4ac8 device: Move dev_read memory allocation into device layer.
Rename dev_read() to dev_read_buf() - the function that reads data
into a supplied buffer.

Introduce a new dev_read() that allocates the buffer it returns and
switch the important users over to this.  No caller may change the
returned data.  (For now, callers are responsible for freeing it after
use, but later the device layer will take full ownership.)

dev_read_buf() should only be used for tiny buffers or unimportant code
(such as the old disk formats).
2017-12-19 01:31:50 +00:00
..
config_settings.h log: Add io debug class 2017-11-15 01:02:15 +00:00
config.c device: Move dev_read memory allocation into device layer. 2017-12-19 01:31:50 +00:00
config.h device: Tag I/O for each mda on a device separately in log messages. 2017-12-07 03:48:11 +00:00
defaults.h cleanup: define really uses KB 2017-06-09 21:49:19 +02:00