Jonathan Brassow
ba8b45cea5
dm log: fix resume failed log device
...
This patch removes the possibility of having uninitialized log state if the
log device has failed.
When a mirror resumes operation, it calls 'resume' on the logging module. If
disk based logging is being used, the log device is read to fill in the log
state. If the log device has failed, we cannot simply return, because this
would leave the in-memory log state uninitialized. Instead, we assume all
regions are out-of-sync and reset the log state. Failure to do this could
result in the logging code reporting a region as in-sync, even though it
isn't; which could result in a corrupted mirror.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:48 -07:00
..
raid6test
.gitignore
bitmap.c
Remove do_sync_file_range()
2007-05-08 11:15:04 -07:00
dm-bio-list.h
dm: bio list helpers
2007-05-09 12:30:47 -07:00
dm-bio-record.h
dm-crypt.c
dm crypt: add null iv
2007-05-09 12:30:46 -07:00
dm-delay.c
dm: delay target
2007-05-09 12:30:47 -07:00
dm-emc.c
dm-exception-store.c
dm exception store: update dm io interface
2007-05-09 12:30:47 -07:00
dm-hw-handler.c
dm-hw-handler.h
dm mpath: log device name
2007-05-09 12:30:46 -07:00
dm-io.c
dm io: remove old interface
2007-05-09 12:30:47 -07:00
dm-io.h
dm io: remove old interface
2007-05-09 12:30:47 -07:00
dm-ioctl.c
[PATCH] mark struct file_operations const 4
2007-02-12 09:48:45 -08:00
dm-linear.c
[PATCH] dm: map and endio symbolic return codes
2006-12-08 08:29:09 -08:00
dm-log.c
dm log: fix resume failed log device
2007-05-09 12:30:48 -07:00
dm-log.h
[PATCH] dm: log: rename complete_resync_work
2006-12-08 08:29:09 -08:00
dm-mpath.c
dm mpath: log device name
2007-05-09 12:30:46 -07:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c
dm raid1: switch rh_in_sync to blocking in do_reads
2007-05-09 12:30:48 -07:00
dm-round-robin.c
dm-snap.c
[PATCH] make drivers/md/dm-snap.c:ksnapd static
2006-12-08 08:29:09 -08:00
dm-snap.h
dm-stripe.c
[PATCH] dm: map and endio symbolic return codes
2006-12-08 08:29:09 -08:00
dm-table.c
dm: allow offline devices
2007-05-09 12:30:47 -07:00
dm-target.c
dm-zero.c
[PATCH] dm: map and endio symbolic return codes
2006-12-08 08:29:09 -08:00
dm.c
dm mpath: log device name
2007-05-09 12:30:46 -07:00
dm.h
[PATCH] dm: suspend: add noflush pushback
2006-12-08 08:29:09 -08:00
faulty.c
[PATCH] md: Don't assume that READ==0 and WRITE==1 - use the names explicitly
2006-12-13 09:05:48 -08:00
Kconfig
dm: delay target
2007-05-09 12:30:47 -07:00
kcopyd.c
dm kcopyd: update dm io interface
2007-05-09 12:30:47 -07:00
kcopyd.h
linear.c
[PATCH] fix read past end of array in md/linear.c
2007-03-16 19:25:03 -07:00
Makefile
dm: delay target
2007-05-09 12:30:47 -07:00
md.c
mm: remove destroy_dirty_buffers from invalidate_bdev()
2007-05-07 12:12:55 -07:00
mktables.c
multipath.c
raid0.c
raid1.c
[PATCH] md: fix potential memalloc deadlock in md
2007-01-26 13:51:00 -08:00
raid5.c
[PATCH] md: convert compile time warnings into runtime warnings
2007-03-27 09:05:15 -07:00
raid6.h
raid6algos.c
raid6altivec.uc
raid6int.uc
raid6mmx.c
[PATCH] md: RAID6: clean up CPUID and FPU enter/exit code
2007-03-01 14:53:36 -08:00
raid6recov.c
raid6sse1.c
[PATCH] md: RAID6: clean up CPUID and FPU enter/exit code
2007-03-01 14:53:36 -08:00
raid6sse2.c
[PATCH] md: RAID6: clean up CPUID and FPU enter/exit code
2007-03-01 14:53:36 -08:00
raid6x86.h
[PATCH] md: RAID6: clean up CPUID and FPU enter/exit code
2007-03-01 14:53:36 -08:00
raid10.c
[PATCH] md: fix raid10 recovery problem.
2007-03-01 14:53:36 -08:00
unroll.pl
xor.c