]> git.baikalelectronics.ru Git - kernel.git/commit
Reload superblock if METADATA_UPDATED is received
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Sat, 7 Jun 2014 06:53:00 +0000 (01:53 -0500)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 23 Feb 2015 15:59:06 +0000 (09:59 -0600)
commitf3b600691351f69643bc8471fe4a8a414bd8fe78
treea927598ca07e1efde4d2f9f60d5607aa9ce27de4
parent6b1f4f257da01c8aa8c52b89d0c655a1a7e9b99b
Reload superblock if METADATA_UPDATED is received

Re-reads the devices by invalidating the cache.
Since we don't write to faulty devices, this is detected using
events recorded in the devices. If it is old as compared to the mddev
mark it is faulty.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
drivers/md/md-cluster.c
drivers/md/md.c
drivers/md/md.h