Re: [PATCH 01/13] md-cluster: change resync lock from asynchronous to synchronous

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test WARNING on v4.6-rc4]
[also build test WARNING on next-20160420]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Guoqing-Jiang/The-latest-patches-for-md-cluster/20160421-140507
config: x86_64-randconfig-x010-201616 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/md/md.c: In function 'md_start_sync':
>> drivers/md/md.c:8244:1: warning: label 'out' defined but not used [-Wunused-label]
    out:
    ^

vim +/out +8244 drivers/md/md.c

60fc1370 NeilBrown         2011-12-23  8228  		}
b4c4c7b8 NeilBrown         2007-02-28  8229  	}
746d3207 NeilBrown         2013-04-24  8230  no_add:
6dafab6b NeilBrown         2012-09-19  8231  	if (removed)
6dafab6b NeilBrown         2012-09-19  8232  		set_bit(MD_CHANGE_DEVS, &mddev->flags);
b4c4c7b8 NeilBrown         2007-02-28  8233  	return spares;
b4c4c7b8 NeilBrown         2007-02-28  8234  }
7ebc0be7 NeilBrown         2011-01-14  8235  
ac05f256 NeilBrown         2014-09-30  8236  static void md_start_sync(struct work_struct *ws)
ac05f256 NeilBrown         2014-09-30  8237  {
ac05f256 NeilBrown         2014-09-30  8238  	struct mddev *mddev = container_of(ws, struct mddev, del_work);
c186b128 Goldwyn Rodrigues 2015-09-30  8239  	int ret = 0;
c186b128 Goldwyn Rodrigues 2015-09-30  8240  
ac05f256 NeilBrown         2014-09-30  8241  	mddev->sync_thread = md_register_thread(md_do_sync,
ac05f256 NeilBrown         2014-09-30  8242  						mddev,
ac05f256 NeilBrown         2014-09-30  8243  						"resync");
c186b128 Goldwyn Rodrigues 2015-09-30 @8244  out:
ac05f256 NeilBrown         2014-09-30  8245  	if (!mddev->sync_thread) {
c186b128 Goldwyn Rodrigues 2015-09-30  8246  		if (!(mddev_is_clustered(mddev) && ret == -EAGAIN))
ac05f256 NeilBrown         2014-09-30  8247  			printk(KERN_ERR "%s: could not start resync"
ac05f256 NeilBrown         2014-09-30  8248  			       " thread...\n",
ac05f256 NeilBrown         2014-09-30  8249  			       mdname(mddev));
ac05f256 NeilBrown         2014-09-30  8250  		/* leave the spares where they are, it shouldn't hurt */
ac05f256 NeilBrown         2014-09-30  8251  		clear_bit(MD_RECOVERY_SYNC, &mddev->recovery);
ac05f256 NeilBrown         2014-09-30  8252  		clear_bit(MD_RECOVERY_RESHAPE, &mddev->recovery);

:::::: The code at line 8244 was first introduced by commit
:::::: c186b128cda5a246da25f474e4689cb2bfacfcac md-cluster: Perform resync/recovery under a DLM lock

:::::: TO: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx>
:::::: CC: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux