From patchwork Tue Jul 4 04:23:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Trippelsdorf X-Patchwork-Id: 9824127 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 97C9860361 for ; Tue, 4 Jul 2017 04:29:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6724B252D5 for ; Tue, 4 Jul 2017 04:29:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A3B026224; Tue, 4 Jul 2017 04:29:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD42F252D5 for ; Tue, 4 Jul 2017 04:29:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750798AbdGDE3u (ORCPT ); Tue, 4 Jul 2017 00:29:50 -0400 Received: from ud10.udmedia.de ([194.117.254.50]:42460 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbdGDE3t (ORCPT ); Tue, 4 Jul 2017 00:29:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=trippelsdorf.de; h=date :from:to:cc:subject:message-id:mime-version:content-type; s=k1; bh=YaE+yLBfVg1+wDeTCQmw/9U7SAqgmlWi0mEoQZG+d8Q=; b=H1/iEW5yZvS7 j7/u2R82MF70IsYEs0OmenA9Spa2KDqgqD9Gx/NS+vVPpe4CuSmXVC8Qb74MPqSD 2SjJC4g24TOmiE64nr5D77jJ33Ifblv9+a0UHkGVKqBOsn8ZrxhqGOu5QTdFWaqN mQMULFmJ9VIs3mXDnokcaH7s6Isdp/M= Received: (qmail 8604 invoked from network); 4 Jul 2017 06:23:06 +0200 Received: from ip5b405f78.dynamic.kabel-deutschland.de (HELO x4) (ud10?360p3@91.64.95.120) by mail.ud10.udmedia.de with ESMTPSA (ECDHE-RSA-AES256-SHA encrypted, authenticated); 4 Jul 2017 06:23:06 +0200 Date: Tue, 4 Jul 2017 06:23:06 +0200 From: Markus Trippelsdorf To: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org Cc: David Sterba , Goldwyn Rodrigues , Jens Axboe Subject: Commit edf064e7c (btrfs: nowait aio support) breaks shells Message-ID: <20170704042306.GA274@x4> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP commit edf064e7c6fec3646b06c944a8e35d1a3de5c2c3 (HEAD, refs/bisect/bad) Author: Goldwyn Rodrigues Date: Tue Jun 20 07:05:49 2017 -0500 btrfs: nowait aio support apparently breaks several shell related features on my system. In zsh history stopped working, because no new entries are added anymore. I fist noticed the issue when I tried to build mplayer. It uses a shell script to generate a help_mp.h file: % help/help_create.sh help/help_mp-en.h UTF-8 This file gets corrupted: ... (I have attached the testcase.) /dev/sdc3 on / type btrfs (rw,noatime,lazytime,compress=lzo,ssd,noacl,space_cache=v2,subvolid=5,subvol=/) # cat /sys/block/sdc/queue/scheduler [none] mq-deadline --- help_mp_good.h 2017-07-04 05:38:33.161640826 +0200 +++ help_mp_bad.h 2017-07-04 05:51:00.650730726 +0200 @@ -1,14 +1,8 @@ -/* WARNING! This is a generated file, do NOT edit. - * See the help/ subdirectory for the editable files. */ -#ifndef MPLAYER_HELP_MP_H -#define MPLAYER_HELP_MP_H - -#include -#include "config.h" +#endif /* MPLAYER_HELP_MP_H */ +he English master file */ -// $Revision: 37846 $ -// MASTER FILE. Use this file as base for translations. + for translations.