linux-stable-rt/drivers/md
NeilBrown 070dc6dd71 md: resolve confusion of MD_CHANGE_CLEAN
MD_CHANGE_CLEAN is used for two different purposes and this leads to
confusion.
One of the purposes is largely mirrored by MD_CHANGE_PENDING which is
not used for anything else, so have MD_CHANGE_PENDING take over that
purpose fully.

The two purposes are:
 1/ tell md_update_sb that an update is needed and that it is just a
   clean/dirty transition.
 2/ tell user-space that an transition from clean to dirty is pending
    (something wants to write), and tell te kernel (by clearin the
    flag) that the transition is OK.

The first purpose remains wit MD_CHANGE_CLEAN, the second is moved
fully to MD_CHANGE_PENDING.

This means that various places which conditionally set or cleared
MD_CHANGE_CLEAN no longer need to be conditional.

Signed-off-by: NeilBrown <neilb@suse.de>
2010-08-30 18:06:21 +10:00
..
Kconfig
Makefile
bitmap.c md: resolve confusion of MD_CHANGE_CLEAN 2010-08-30 18:06:21 +10:00
bitmap.h
dm-bio-record.h
dm-crypt.c dm: use dm_target_offset macro 2010-08-12 04:14:11 +01:00
dm-delay.c dm delay: support discard 2010-08-12 04:14:13 +01:00
dm-exception-store.c dm snapshot: test chunk size against both origin and snapshot 2010-08-12 04:13:51 +01:00
dm-exception-store.h dm snapshot: test chunk size against both origin and snapshot 2010-08-12 04:13:51 +01:00
dm-io.c
dm-ioctl.c dm: allow autoloading of dm mod 2010-08-12 04:14:05 +01:00
dm-kcopyd.c
dm-linear.c dm: use dm_target_offset macro 2010-08-12 04:14:11 +01:00
dm-log-userspace-base.c
dm-log-userspace-transfer.c
dm-log-userspace-transfer.h
dm-log.c
dm-mpath.c dm mpath: support discard 2010-08-12 04:14:32 +01:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-queue-length.c
dm-raid1.c dm: use dm_target_offset macro 2010-08-12 04:14:11 +01:00
dm-region-hash.c
dm-round-robin.c
dm-service-time.c
dm-snap-persistent.c dm snapshot: persistent use define for disk header chunk size 2010-08-12 04:13:59 +01:00
dm-snap-transient.c
dm-snap.c dm: rename map_info flush_request to target_request_nr 2010-08-12 04:14:04 +01:00
dm-stripe.c dm stripe: support discards 2010-08-12 04:14:26 +01:00
dm-sysfs.c
dm-table.c dm: linear support discard 2010-08-12 04:14:08 +01:00
dm-target.c dm: error return error for discards 2010-08-12 04:14:14 +01:00
dm-uevent.c
dm-uevent.h
dm-zero.c dm: zero silently drop discards 2010-08-12 04:14:12 +01:00
dm.c dm: split discard requests on target boundaries 2010-08-12 04:14:24 +01:00
dm.h dm: linear support discard 2010-08-12 04:14:08 +01:00
faulty.c
linear.c
linear.h
md.c md: resolve confusion of MD_CHANGE_CLEAN 2010-08-30 18:06:21 +10:00
md.h md: resolve confusion of MD_CHANGE_CLEAN 2010-08-30 18:06:21 +10:00
multipath.c
multipath.h
raid0.c
raid0.h
raid1.c md raid-1/10 Fix bio_rw bit manipulations again 2010-08-18 16:16:05 +10:00
raid1.h
raid5.c md: provide appropriate return value for spare_active functions. 2010-08-18 12:04:32 +10:00
raid5.h
raid10.c md raid-1/10 Fix bio_rw bit manipulations again 2010-08-18 16:16:05 +10:00
raid10.h