CC: kbuild-...@lists.01.org
BCC: l...@intel.com
TO: Christoph Hellwig <h...@lst.de>

tree:   git://git.infradead.org/users/hch/misc.git btrfs-bio-cleanup
head:   61d70226fe38434a85b198ea6a0ca8c0bf7637bc
commit: bcf194cbc1bd2e0f5184ee61bac818c6b039ce8d [19/40] btrfs: defer I/O 
completion based on the btrfs_raid_bio
:::::: branch date: 2 hours ago
:::::: commit date: 11 hours ago
config: microblaze-randconfig-c004-20220322 
(https://download.01.org/0day-ci/archive/20220323/202203230147.t3txzoyp-...@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>
Reported-by: Julia Lawall <julia.law...@lip6.fr>


cocci warnings: (new ones prefixed by >>)
>> fs/btrfs/raid56.c:1445:6-25: atomic_dec_and_test variation before object 
>> free at line 1447.

vim +1445 fs/btrfs/raid56.c

53b381b3abeb86 David Woodhouse   2013-01-29  1433  
bcf194cbc1bd2e Christoph Hellwig 2022-03-17  1434  static void 
raid56_bio_end_io(struct bio *bio)
53b381b3abeb86 David Woodhouse   2013-01-29  1435  {
53b381b3abeb86 David Woodhouse   2013-01-29  1436       struct btrfs_raid_bio 
*rbio = bio->bi_private;
53b381b3abeb86 David Woodhouse   2013-01-29  1437  
4e4cbee93d5613 Christoph Hellwig 2017-06-03  1438       if (bio->bi_status)
53b381b3abeb86 David Woodhouse   2013-01-29  1439               
fail_bio_stripe(rbio, bio);
53b381b3abeb86 David Woodhouse   2013-01-29  1440       else
53b381b3abeb86 David Woodhouse   2013-01-29  1441               
set_bio_pages_uptodate(bio);
53b381b3abeb86 David Woodhouse   2013-01-29  1442  
53b381b3abeb86 David Woodhouse   2013-01-29  1443       bio_put(bio);
53b381b3abeb86 David Woodhouse   2013-01-29  1444  
b89e1b012c7f81 Miao Xie          2014-10-15 @1445       if 
(!atomic_dec_and_test(&rbio->stripes_pending))
53b381b3abeb86 David Woodhouse   2013-01-29  1446               return;
bcf194cbc1bd2e Christoph Hellwig 2022-03-17 @1447       
btrfs_queue_work(rbio->bioc->fs_info->endio_raid56_workers,
bcf194cbc1bd2e Christoph Hellwig 2022-03-17  1448                        
&rbio->end_io_work);
bcf194cbc1bd2e Christoph Hellwig 2022-03-17  1449  }
53b381b3abeb86 David Woodhouse   2013-01-29  1450  

:::::: The code at line 1445 was first introduced by commit
:::::: b89e1b012c7f81123344058d5f245b844464d30c Btrfs, raid56: don't change 
bbio and raid_map

:::::: TO: Miao Xie <mi...@cn.fujitsu.com>
:::::: CC: Miao Xie <mi...@cn.fujitsu.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to