]> git.ipfire.org Git - thirdparty/mdadm.git/commit
monitor: Add DS_EXTERNAL_BB flag
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 27 Aug 2024 12:56:57 +0000 (14:56 +0200)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Mon, 4 Nov 2024 09:29:52 +0000 (10:29 +0100)
commit5ca93f729a6becf8c529e1393ad2bde1eb1cddfa
tree04a498eea528cb661231867747dbdaa275412b68
parentfdeb831823b63d1ee6c95a892af201b1550e6ee5
monitor: Add DS_EXTERNAL_BB flag

If this is set, then metadata handler must support external badblocks.
Remove checks for superswitch functions. If mdi->state_fd is not set
then we should not try to record badblock, we cannot trust this device.

No functional changes.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
mdadm.h
monitor.c