Re: [PATCH 08/13] md: set MD_CHANGE_PENDING in a spinlocked region

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

 



Hi,

[auto build test ERROR on v4.6-rc4]
[also build test ERROR 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 errors (new ones prefixed by >>):

   drivers/md/md.c: In function 'md_update_sb':
>> drivers/md/md.c:2303:20: error: 'struct mddev' has no member named 'write_lock'
       spin_lock(&mddev->write_lock);
                       ^
   drivers/md/md.c: In function 'md_start_sync':
   drivers/md/md.c:8262:1: warning: label 'out' defined but not used [-Wunused-label]
    out:
    ^

vim +2303 drivers/md/md.c

  2297				nospares = 1;
  2298			ret = md_cluster_ops->metadata_update_start(mddev);
  2299			/* Has someone else has updated the sb */
  2300			if (!does_sb_need_changing(mddev)) {
  2301				if (ret == 0)
  2302					md_cluster_ops->metadata_update_cancel(mddev);
> 2303				spin_lock(&mddev->write_lock);
  2304				if (!test_bit(MD_CHANGE_DEVS, &mddev->flags) &&
  2305				    !test_bit(MD_CHANGE_CLEAN, &mddev->flags))
  2306					clear_bit(MD_CHANGE_PENDING, &mddev->flags);

---
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