diff options
author | NeilBrown <neilb@suse.de> | 2010-07-05 02:11:21 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-09-06 03:03:43 +0200 |
commit | 5527fc74620ecc831d7c854c200e34211ceb63de (patch) | |
tree | 2c4801f0fe00c037607325078a1babfa015550a7 /Makefile | |
parent | Fix compile error on non-x86 systems. (diff) | |
download | mdadm-5527fc74620ecc831d7c854c200e34211ceb63de.tar.xz mdadm-5527fc74620ecc831d7c854c200e34211ceb63de.zip |
Add policy framework.
Policy can be stated as lines in mdadm.conf like:
POLICY type=disk path=pci-0000:00:1f.2-* action=ignore domain=onboard
This defines two distinct policies which apply to any disk (but not
partition) device reached through the pci device 0000:00:1f.2.
The policies are "action=ignore" which means certain actions will
ignore the device, and "domain=onboard" which means all such devices
as treated as being united under the name 'onboard'.
This patch just adds data structures and code to read and
manipulate them. Future patches will actually use them.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -95,26 +95,26 @@ MAN4DIR = $(MANDIR)/man4 MAN5DIR = $(MANDIR)/man5 MAN8DIR = $(MANDIR)/man8 -OBJS = mdadm.o config.o mdstat.o ReadMe.o util.o Manage.o Assemble.o Build.o \ +OBJS = mdadm.o config.o policy.o mdstat.o ReadMe.o util.o Manage.o Assemble.o Build.o \ Create.o Detail.o Examine.o Grow.o Monitor.o dlink.o Kill.o Query.o \ Incremental.o \ mdopen.o super0.o super1.o super-ddf.o super-intel.o bitmap.o \ restripe.o sysfs.o sha1.o mapfile.o crc32.o sg_io.o msg.o \ platform-intel.o probe_roms.o -SRCS = mdadm.c config.c mdstat.c ReadMe.c util.c Manage.c Assemble.c Build.c \ +SRCS = mdadm.c config.c policy.c mdstat.c ReadMe.c util.c Manage.c Assemble.c Build.c \ Create.c Detail.c Examine.c Grow.c Monitor.c dlink.c Kill.c Query.c \ Incremental.c \ mdopen.c super0.c super1.c super-ddf.c super-intel.c bitmap.c \ restripe.c sysfs.c sha1.c mapfile.c crc32.c sg_io.c msg.c \ platform-intel.c probe_roms.c -MON_OBJS = mdmon.o monitor.o managemon.o util.o mdstat.o sysfs.o config.o \ +MON_OBJS = mdmon.o monitor.o managemon.o util.o mdstat.o sysfs.o config.o policy.o \ Kill.o sg_io.o dlink.o ReadMe.o super0.o super1.o super-intel.o \ super-ddf.o sha1.o crc32.o msg.o bitmap.o \ platform-intel.o probe_roms.o -MON_SRCS = mdmon.c monitor.c managemon.c util.c mdstat.c sysfs.c config.c \ +MON_SRCS = mdmon.c monitor.c managemon.c util.c mdstat.c sysfs.c config.c policy.c \ Kill.c sg_io.c dlink.c ReadMe.c super0.c super1.c super-intel.c \ super-ddf.c sha1.c crc32.c msg.c bitmap.c \ platform-intel.c probe_roms.c @@ -122,7 +122,7 @@ MON_SRCS = mdmon.c monitor.c managemon.c util.c mdstat.c sysfs.c config.c \ STATICSRC = pwgr.c STATICOBJS = pwgr.o -ASSEMBLE_SRCS := mdassemble.c Assemble.c Manage.c config.c dlink.c util.c \ +ASSEMBLE_SRCS := mdassemble.c Assemble.c Manage.c config.c policy.c dlink.c util.c \ super0.c super1.c super-ddf.c super-intel.c sha1.c crc32.c sg_io.c mdstat.c \ platform-intel.c probe_roms.c sysfs.c ASSEMBLE_AUTO_SRCS := mdopen.c |