Re: [PATCH 0/10] block: Fix block device shutdown related races

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

 



Hello Jan,

Am Donnerstag, 9. Februar 2017, 13:44:23 BRST schrieb Jan Kara:
> People, please have a look at patches. The are mostly simple however the
> interactions are rather complex so I may have missed something. Also I'm
> happy for any additional testing these patches can get - I've stressed them
> with Omar's script, tested memcg writeback, tested static (not udev managed)
> device inodes.

Thank you for these fixes. I will have them tested and report back how it 
goes.

Can you tell which branch I should apply them on? I tried a number of branches 
in linux-block (and applied the bdi lifetime v3 patches if the branch didn't 
already had them) but this series either didn't apply or the build failed 
with:

/home/bauermann/trabalho/src/linux-2.6.git/fs/block_dev.c: In function 
‘bd_acquire’:
/home/bauermann/trabalho/src/linux-2.6.git/fs/block_dev.c:1063:13: error: 
passing argument 1 of ‘bd_forget’ from incompatible pointer type [-
Werror=incompatible-pointer-types]
   bd_forget(bdev);
             ^
In file included from /home/bauermann/trabalho/src/linux-2.6.git/include/
linux/device_cgroup.h:1:0,
                 from /home/bauermann/trabalho/src/linux-2.6.git/fs/
block_dev.c:14:
/home/bauermann/trabalho/src/linux-2.6.git/include/linux/fs.h:2351:13: note: 
expected ‘struct inode *’ but argument is of type ‘struct block_device *’
 extern void bd_forget(struct inode *inode);
             ^
cc1: some warnings being treated as errors


-- 
Thiago Jung Bauermann
IBM Linux Technology Center




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux