Re: Data race in __inode_add_bytes

2015-09-25 Thread Jan Kara
On Fri 25-09-15 11:51:53, Dmitry Vyukov wrote: > On Fri, Sep 25, 2015 at 11:36 AM, Dmitry Vyukov wrote: > > Looking at __inode_add_bytes/ext4_inode_blocks_set I see much more > > ways to screw things up. > > For example, __inode_add_bytes: > > > > void __inode_add_bytes(struct inode *inode, loff_t

Re: Data race in __inode_add_bytes

2015-09-25 Thread Dmitry Vyukov
Re-sending with correct mailing list address. On Fri, Sep 25, 2015 at 11:36 AM, Dmitry Vyukov wrote: > Looking at __inode_add_bytes/ext4_inode_blocks_set I see much more > ways to screw things up. > For example, __inode_add_bytes: > > void __inode_add_bytes(struct inode *inode, loff_t bytes) > {

Re: Data race in __inode_add_bytes

2015-09-01 Thread Dmitry Vyukov
On Mon, Aug 31, 2015 at 9:35 PM, Andrey Konovalov wrote: > Hi! > > We are working on a dynamic data race detector for the Linux kernel, > KernelThreadSanitizer (ktsan): > https://github.com/google/ktsan/wiki > > We got a report while running ktsan on 4.2: > > ==