# git rev-parse -q --verify fff75eb2a08c2ac96404a2d79685668f3cf5a7a3^{commit} fff75eb2a08c2ac96404a2d79685668f3cf5a7a3 already have revision, skipping fetch # git checkout -q -f -B kisskb fff75eb2a08c2ac96404a2d79685668f3cf5a7a3 # git clean -qxdf # < git log -1 # commit fff75eb2a08c2ac96404a2d79685668f3cf5a7a3 # Merge: 8188fc8 b4678df1 # Author: Linus Torvalds # Date: Mon Apr 30 16:53:40 2018 -0700 # # Merge tag 'errseq-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux # # Pull errseq infrastructure fix from Jeff Layton: # "The PostgreSQL developers recently had a spirited discussion about the # writeback error handling in Linux, and reached out to us about a # behavoir change to the code that bit them when the errseq_t changes # were merged. # # When we changed to using errseq_t for tracking writeback errors, we # lost the ability for an application to see a writeback error that # occurred before the open on which the fsync was issued. This was # problematic for PostgreSQL which offloads fsync calls to a completely # separate process from the DB writers. # # This patch restores that ability. If the errseq_t value in the inode # does not have the SEEN flag set, then we just return 0 for the sample. # That ensures that any recorded error is always delivered at least # once. # # Note that we might still lose the error if the inode gets evicted from # the cache before anything can reopen it, but that was the case before # errseq_t was merged. At LSF/MM we had some discussion about keeping # inodes with unreported writeback errors around in the cache for longer # (possibly indefinitely), but that's really a separate problem" # # * tag 'errseq-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux: # errseq: Always report a writeback error once # < /opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc-gcc --version # < git log --format=%s --max-count=1 fff75eb2a08c2ac96404a2d79685668f3cf5a7a3 # < make -s -j 20 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- axs101_defconfig # Added to kconfig CONFIG_INITRAMFS_SOURCE="" # yes \n | make -s -j 20 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 20 ARCH=arc O=/kisskb/build/linus_axs101_defconfig_arcompact CROSS_COMPILE=/opt/cross/kisskb/arcompact-buildroot-2015.08.1/bin/arc-buildroot-linux-uclibc- In file included from /kisskb/src/include/asm-generic/bug.h:18:0, from /kisskb/src/arch/arc/include/asm/bug.h:32, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/mm/nobootmem.c:14: /kisskb/src/mm/nobootmem.c: In function '__free_pages_memory': /kisskb/src/include/linux/kernel.h:810:29: warning: comparison of distinct pointer types lacks a cast [enabled by default] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:824:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/kernel.h:834:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/kernel.h:843:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/mm/nobootmem.c:104:11: note: in expansion of macro 'min' order = min(MAX_ORDER - 1UL, __ffs(start)); ^ /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_data_queue': /kisskb/src/net/ipv4/tcp_input.c:4237:49: warning: array subscript is above array bounds [-Warray-bounds] tp->selective_acks[i-1] = tp->selective_acks[i]; ^ /kisskb/src/net/xfrm/xfrm_policy.c: In function '__xfrm_policy_check': /kisskb/src/net/xfrm/xfrm_policy.c:2378:15: warning: array subscript is above array bounds [-Warray-bounds] if (sp->xvec[k]->props.mode != XFRM_MODE_TRANSPORT) { ^ Completed OK # rm -rf /kisskb/build/linus_axs101_defconfig_arcompact # Build took: 0:01:12.546935