1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/filters
Zdenek Kabelac 37672e676d Support improperly formated device numbers
There are kernel drivers (smblk) which set '-1' as their device major number.
This number is listed in /proc/devices then - but the kernel itself is using
just 12 bits - thus device is accessible via 4095 - there is posted patch
for 3.4 to fix this behavior (0 for auto allocation was mean to be used).

However to still allow using such devices with older kernels add some code
to use same behavior - so cut 12 bits from the major number from /proc/devices.

For now use log_warn() - maybe the severity of the message could be lowered
to just verbose level.
2012-03-20 10:47:02 +00:00
..
filter-composite.c Track recursive filter iteration to avoid refreshing while in use. (2.02.56) 2010-09-22 01:36:13 +00:00
filter-composite.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
filter-md.c Fix name in msg in last checkin. 2010-09-22 01:50:38 +00:00
filter-md.h Set devices/md_component_detection = 1 to ignore devices containing md 2004-04-16 16:12:04 +00:00
filter-mpath.c Improve error logging 2012-03-01 10:30:48 +00:00
filter-mpath.h And now add files for real. 2011-11-11 15:24:48 +00:00
filter-persistent.c Test dm_hash_insert() failures mem failures 2012-02-28 11:12:58 +00:00
filter-persistent.h Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
filter-regex.c Add check for allocation failure 2012-02-13 11:16:42 +00:00
filter-regex.h Move the core of the lib/config/config.c functionality into libdevmapper, 2011-08-30 14:55:15 +00:00
filter-sysfs.c Check allocation result 2012-02-27 09:56:27 +00:00
filter-sysfs.h Store sysfs location in struct cmd_context. 2008-09-19 03:42:37 +00:00
filter.c Support improperly formated device numbers 2012-03-20 10:47:02 +00:00
filter.h Better structure layout for device_info 2012-03-12 14:40:41 +00:00