From: kbuild test robot <lkp@intel.com> To: Davidlohr Bueso <dave@stgolabs.net> Cc: kbuild-all@01.org, mingo@kernel.org, peterz@infradead.org, akpm@linux-foundation.org, jack@suse.cz, kirill.shutemov@linux.intel.com, mhocko@suse.com, mgorman@techsingularity.net, dave@stgolabs.net, linux-kernel@vger.kernel.org, oleg.drokin@intel.com, andreas.dilger@intel.com, jsimmons@infradead.org, lustre-devel@lists.lustre.org, Davidlohr Bueso <dbueso@suse.de> Subject: Re: [PATCH 5/5] staging/lustre: Use generic range rwlock Date: Thu, 9 Mar 2017 22:40:53 +0800 [thread overview] Message-ID: <201703092251.IuWrdxhU%fengguang.wu@intel.com> (raw) In-Reply-To: <1488863010-13028-6-git-send-email-dave@stgolabs.net> [-- Attachment #1: Type: text/plain, Size: 1917 bytes --] Hi Davidlohr, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.11-rc1 next-20170309] [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/Davidlohr-Bueso/locking-Introduce-range-reader-writer-lock/20170309-140444 config: i386-randconfig-i1-201710 (attached as .config) compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/staging/lustre/lustre/llite/file.c: In function 'll_file_io_generic': >> drivers/staging/lustre/lustre/llite/file.c:1072:4: warning: large integer implicitly truncated to unsigned type [-Woverflow] range_rwlock_init(&range, 0, LUSTRE_EOF); ^ vim +1072 drivers/staging/lustre/lustre/llite/file.c 1056 struct cl_io *io; 1057 ssize_t result = 0; 1058 int rc = 0; 1059 1060 CDEBUG(D_VFSTRACE, "file: %pD, type: %d ppos: %llu, count: %zu\n", 1061 file, iot, *ppos, count); 1062 1063 restart: 1064 io = vvp_env_thread_io(env); 1065 ll_io_init(io, file, iot == CIT_WRITE); 1066 1067 if (cl_io_rw_init(env, io, iot, *ppos, count) == 0) { 1068 struct vvp_io *vio = vvp_env_io(env); 1069 bool range_locked = false; 1070 1071 if (file->f_flags & O_APPEND) > 1072 range_rwlock_init(&range, 0, LUSTRE_EOF); 1073 else 1074 range_rwlock_init(&range, *ppos, *ppos + count - 1); 1075 1076 vio->vui_fd = LUSTRE_FPRIVATE(file); 1077 vio->vui_iter = args->u.normal.via_iter; 1078 vio->vui_iocb = args->u.normal.via_iocb; 1079 /* 1080 * Direct IO reads must also take range lock, --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 37254 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com> To: lustre-devel@lists.lustre.org Subject: [lustre-devel] [PATCH 5/5] staging/lustre: Use generic range rwlock Date: Thu, 9 Mar 2017 22:40:53 +0800 [thread overview] Message-ID: <201703092251.IuWrdxhU%fengguang.wu@intel.com> (raw) In-Reply-To: <1488863010-13028-6-git-send-email-dave@stgolabs.net> Hi Davidlohr, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.11-rc1 next-20170309] [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/Davidlohr-Bueso/locking-Introduce-range-reader-writer-lock/20170309-140444 config: i386-randconfig-i1-201710 (attached as .config) compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/staging/lustre/lustre/llite/file.c: In function 'll_file_io_generic': >> drivers/staging/lustre/lustre/llite/file.c:1072:4: warning: large integer implicitly truncated to unsigned type [-Woverflow] range_rwlock_init(&range, 0, LUSTRE_EOF); ^ vim +1072 drivers/staging/lustre/lustre/llite/file.c 1056 struct cl_io *io; 1057 ssize_t result = 0; 1058 int rc = 0; 1059 1060 CDEBUG(D_VFSTRACE, "file: %pD, type: %d ppos: %llu, count: %zu\n", 1061 file, iot, *ppos, count); 1062 1063 restart: 1064 io = vvp_env_thread_io(env); 1065 ll_io_init(io, file, iot == CIT_WRITE); 1066 1067 if (cl_io_rw_init(env, io, iot, *ppos, count) == 0) { 1068 struct vvp_io *vio = vvp_env_io(env); 1069 bool range_locked = false; 1070 1071 if (file->f_flags & O_APPEND) > 1072 range_rwlock_init(&range, 0, LUSTRE_EOF); 1073 else 1074 range_rwlock_init(&range, *ppos, *ppos + count - 1); 1075 1076 vio->vui_fd = LUSTRE_FPRIVATE(file); 1077 vio->vui_iter = args->u.normal.via_iter; 1078 vio->vui_iocb = args->u.normal.via_iocb; 1079 /* 1080 * Direct IO reads must also take range lock, --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.gz Type: application/gzip Size: 37254 bytes Desc: not available URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20170309/64b53f13/attachment-0001.bin>
next prev parent reply other threads:[~2017-03-09 14:33 UTC|newest] Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-03-07 5:03 [PATCH 0/5] locking Introduce range reader/writer lock Davidlohr Bueso 2017-03-07 5:03 ` [PATCH 1/5] locking: " Davidlohr Bueso 2017-03-09 11:03 ` Jan Kara 2017-03-28 10:00 ` Laurent Dufour 2017-03-28 16:39 ` Davidlohr Bueso 2017-03-28 16:58 ` Kirill A. Shutemov 2017-03-29 8:38 ` Laurent Dufour 2017-03-29 15:31 ` Davidlohr Bueso 2017-03-29 15:40 ` Kirill A. Shutemov 2017-03-29 16:10 ` Davidlohr Bueso 2017-04-03 14:19 ` Laurent Dufour 2017-04-03 15:26 ` Davidlohr Bueso 2017-04-03 16:06 ` Jan Kara 2017-04-04 15:31 ` Davidlohr Bueso 2017-03-29 8:56 ` Peter Zijlstra 2017-03-29 15:12 ` Davidlohr Bueso 2017-03-29 8:59 ` Peter Zijlstra 2017-03-29 9:08 ` Peter Zijlstra 2017-03-29 15:05 ` Davidlohr Bueso 2017-03-29 9:11 ` Peter Zijlstra 2017-03-29 9:44 ` Peter Zijlstra 2017-03-29 10:35 ` Peter Zijlstra 2017-03-29 10:49 ` Peter Zijlstra 2017-03-29 15:14 ` Davidlohr Bueso 2017-03-30 14:56 ` Laurent Dufour 2017-03-30 17:13 ` Davidlohr Bueso 2017-03-07 5:03 ` [PATCH 2/5] locking/locktorture: Fix rwsem reader_delay Davidlohr Bueso 2017-03-07 5:03 ` [PATCH 3/5] locking/locktorture: Fix num reader/writer corner cases Davidlohr Bueso 2017-03-07 5:03 ` [PATCH 4/5] locking/locktorture: Support range rwlocks Davidlohr Bueso 2017-03-07 5:03 ` [PATCH 5/5] staging/lustre: Use generic range rwlock Davidlohr Bueso 2017-03-07 6:05 ` Oleg Drokin 2017-03-07 6:05 ` [lustre-devel] " Oleg Drokin 2017-03-08 15:02 ` Davidlohr Bueso 2017-03-09 8:56 ` kbuild test robot 2017-03-09 8:56 ` [lustre-devel] " kbuild test robot 2017-03-09 14:40 ` kbuild test robot [this message] 2017-03-09 14:40 ` kbuild test robot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201703092251.IuWrdxhU%fengguang.wu@intel.com \ --to=lkp@intel.com \ --cc=akpm@linux-foundation.org \ --cc=andreas.dilger@intel.com \ --cc=dave@stgolabs.net \ --cc=dbueso@suse.de \ --cc=jack@suse.cz \ --cc=jsimmons@infradead.org \ --cc=kbuild-all@01.org \ --cc=kirill.shutemov@linux.intel.com \ --cc=linux-kernel@vger.kernel.org \ --cc=lustre-devel@lists.lustre.org \ --cc=mgorman@techsingularity.net \ --cc=mhocko@suse.com \ --cc=mingo@kernel.org \ --cc=oleg.drokin@intel.com \ --cc=peterz@infradead.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.