1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Report 'buffer full' condition with v4 ioctl as well as with v1.

This commit is contained in:
Alasdair Kergon 2005-08-08 18:40:17 +00:00
parent 0b63cc1ea0
commit e817a0b35c
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 1.01.05
=============================
Report 'buffer full' condition with v4 ioctl as well as with v1.
Version 1.01.04 - 2 Aug 2005
=============================

View File

@ -1344,6 +1344,10 @@ int dm_task_run(struct dm_task *dmt)
#else /* Userspace alternative for testing */
#endif
if (dmi->flags & DM_BUFFER_FULL_FLAG)
/* FIXME Increase buffer size and retry operation (if query) */
log_error("Warning: libdevmapper buffer too small for data");
switch (dmt->type) {
case DM_DEVICE_CREATE:
add_dev_node(dmt->dev_name, MAJOR(dmi->dev), MINOR(dmi->dev),