Re: [PATCH v3] f2fs: dax: implement direct access

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

 



Hi Qiuyang,

[auto build test ERROR on f2fs/dev]
[also build test ERROR on v4.12-rc4 next-20170607]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/sunqiuyang/f2fs-dax-implement-direct-access/20170608-140734
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev
config: x86_64-randconfig-x010-201723 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   fs/f2fs/file.c: In function 'f2fs_dax_huge_fault':
>> fs/f2fs/file.c:124:26: error: 'struct f2fs_inode_info' has no member named 'i_mmap_sem'; did you mean 'i_sem'?
     down_read(&F2FS_I(inode)->i_mmap_sem);
                             ^~
   fs/f2fs/file.c:126:24: error: 'struct f2fs_inode_info' has no member named 'i_mmap_sem'; did you mean 'i_sem'?
     up_read(&F2FS_I(inode)->i_mmap_sem);
                           ^~
   fs/f2fs/file.c: In function 'f2fs_dax_pfn_mkwrite':
   fs/f2fs/file.c:147:26: error: 'struct f2fs_inode_info' has no member named 'i_mmap_sem'; did you mean 'i_sem'?
     down_read(&F2FS_I(inode)->i_mmap_sem);
                             ^~
   fs/f2fs/file.c:153:24: error: 'struct f2fs_inode_info' has no member named 'i_mmap_sem'; did you mean 'i_sem'?
     up_read(&F2FS_I(inode)->i_mmap_sem);
                           ^~
--
   fs/f2fs/gc.c: In function 'dax_move_data_page':
>> fs/f2fs/gc.c:731:40: error: 'struct f2fs_inode_info' has no member named 'i_mmap_sem'; did you mean 'i_sem'?
     if (!down_write_trylock(&F2FS_I(inode)->i_mmap_sem))
                                           ^~
   fs/f2fs/gc.c:783:25: error: 'struct f2fs_inode_info' has no member named 'i_mmap_sem'; did you mean 'i_sem'?
     up_write(&F2FS_I(inode)->i_mmap_sem);
                            ^~

vim +124 fs/f2fs/file.c

   118		bool write = vmf->flags & FAULT_FLAG_WRITE;
   119	
   120		if (write) {
   121			sb_start_pagefault(sb);
   122			file_update_time(vmf->vma->vm_file);
   123		}
 > 124		down_read(&F2FS_I(inode)->i_mmap_sem);
   125		result = dax_iomap_fault(vmf, pe_size, &f2fs_iomap_ops);
   126		up_read(&F2FS_I(inode)->i_mmap_sem);
   127		if (write)

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux