]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/md/md.h
md: use mddev->lock to protect updates to resync_{min,max}.
[mirror_ubuntu-bionic-kernel.git] / drivers / md / md.h
index b4fbd6a63fcf0e7de7658d784afe436a428a91c6..6bf3faa951ec8bceb3926f0286d7a92b062db8d5 100644 (file)
@@ -394,6 +394,8 @@ struct mddev {
         *   pers (also protected by reconfig_mutex and pending IO).
         *   clearing ->bitmap
         *   clearing ->bitmap_info.file
+        *   changing ->resync_{min,max}
+        *   setting MD_RECOVERY_RUNNING (which interacts with resync_{min,max})
         */
        spinlock_t                      lock;
        wait_queue_head_t               sb_wait;        /* for waiting on superblock updates */