{"push_id":819435329,"size":5,"distinct_size":5,"ref":"refs/heads/md-next","head":"1162ba7f976cd0dcf78b41456c1501f26a4f5cab","before":"842909961bcd7b0cebf894840ae3468d7fc68bad","commits":[{"sha":"af3c9cb362b8df37a9a2b6fc663ca18071b64a84","author":{"email":"c9a1f5b69e66eac203c1a3ccc3e06e47e8b65275@suse.com","name":"Goldwyn Rodrigues"},"message":"md: remove_and_add_spares() to activate specific rdev\n\nremove_and_add_spares() checks for all devices to activate spare.\nChange it to activate a specific device if a non-null rdev\nargument is passed.\n\nremove_and_add_spares() can be used to activate spares in\nslot_store() as well.\n\nFor hot_remove_disk(), check if rdev->raid_disk == -1 before\ncalling remove_and_add_spares()\n\nSigned-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>","distinct":true,"url":"https://api.github.com/repos/goldwynr/linux/commits/af3c9cb362b8df37a9a2b6fc663ca18071b64a84"},{"sha":"4494820f5e284f2dc530716d35a8252df7831cd7","author":{"email":"c9a1f5b69e66eac203c1a3ccc3e06e47e8b65275@suse.com","name":"Goldwyn Rodrigues"},"message":"md-cluster: Improve md_reload_sb to be less error prone\n\nmd_reload_sb is too simplistic and it explicitly needs to determine\nthe changes made by the writing node. However, there are multiple areas\nwhere a simple reload could fail.\n\nInstead, read the superblock of one of the \"good\" rdevs and update\nthe necessary information:\n\n- read the superblock into a newly allocated page, by temporarily\n  swapping out rdev->sb_page and calling ->load_super.\n- if that fails return\n- if it succeeds, call check_sb_changes\n  1. iterates over list of active devices and checks the matching\n   dev_roles[] value.\n   \tIf that is 'faulty', the device must be  marked as faulty\n\t - call md_error to mark the device as faulty. Make sure\n\t   not to set CHANGE_DEVS and wakeup mddev->thread or else\n\t   it would initiate a resync process, which is the responsibility\n\t   of the \"primary\" node.\n\t - clear the Blocked bit\n\t - Call remove_and_add_spares() to hot remove the device.\n\tIf the device is 'spare':\n\t - call remove_and_add_spares() to get the number of spares\n\t   added in this operation.\n\t - Reduce mddev->degraded to mark the array as not degraded.\n  2. reset recovery_cp\n- read the rest of the rdevs to update recovery_offset\n\nSigned-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>","distinct":true,"url":"https://api.github.com/repos/goldwynr/linux/commits/4494820f5e284f2dc530716d35a8252df7831cd7"},{"sha":"d28b64e66bcec8ea4321eac2b328850b76003c49","author":{"email":"c9a1f5b69e66eac203c1a3ccc3e06e47e8b65275@suse.com","name":"Goldwyn Rodrigues"},"message":"md-cluster: Perform a lazy update\n\nIn a clustered environment, a change such as marking a device faulty,\ncan be recorded by any of the nodes. This is communicated to all the\nnodes and re-recording such a change is unnecessary, and quite often\npretty disruptive.\n\nWith this patch, just before the update, we detect for the changes\nand if the changes are already in superblock, we abort the update\nafter clearing all the flags\n\nSigned-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>","distinct":true,"url":"https://api.github.com/repos/goldwynr/linux/commits/d28b64e66bcec8ea4321eac2b328850b76003c49"},{"sha":"93a31b39bd0b6b0e0855a3f8e829166f69b9a39d","author":{"email":"c9a1f5b69e66eac203c1a3ccc3e06e47e8b65275@suse.com","name":"Goldwyn Rodrigues"},"message":"md-cluster: Perform resync/recovery under a DLM lock\n\nResync or recovery must be performed by only one node at a time.\nA DLM lock resource, resync_lockres provides the mutual exclusion\nso that only one node performs the recovery/resync at a time.\n\nSigned-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>","distinct":true,"url":"https://api.github.com/repos/goldwynr/linux/commits/93a31b39bd0b6b0e0855a3f8e829166f69b9a39d"},{"sha":"1162ba7f976cd0dcf78b41456c1501f26a4f5cab","author":{"email":"c9a1f5b69e66eac203c1a3ccc3e06e47e8b65275@suse.com","name":"Goldwyn Rodrigues"},"message":"Fix adding of new disk with new reload code\n\nAdding the disk worked incorrectly with the new reload code. Fix it:\n\n - No operation should be performed on rdev marked as Candidate\n - After a metadata update operation, kick disk if role is 0xfffe\n   else clear Candidate bit and continue with the regular change check.\n\nSigned-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>","distinct":true,"url":"https://api.github.com/repos/goldwynr/linux/commits/1162ba7f976cd0dcf78b41456c1501f26a4f5cab"}]}