Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp602381rdb; Fri, 26 Jan 2024 05:29:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFkC6iFfqBmClinOCN1Ovi2rt03RSHWwKKvf81uk3ale6WQ8lG8iojp4KiqJZ2RjCtHn8E X-Received: by 2002:a17:903:189:b0:1d7:2bd6:23e3 with SMTP id z9-20020a170903018900b001d72bd623e3mr1292691plg.5.1706275775978; Fri, 26 Jan 2024 05:29:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706275775; cv=pass; d=google.com; s=arc-20160816; b=iKfxLNKRDrzylulmicNZscc37On8VKILGSJ+wkIjuifo8PyrKGPsmkWLomVMP/f3Vk AwI29/VXF/hHw2zRf17goLjJX78GoEqJVxqh4oOw4r1ea8hVPPhunDO9R0Nk7KdJrExq 5+etaG0WCy9zCZ1IOFfyGY+Vx9ujUyxXJHIfDupFCqNbg/cMnuPkZT+F8gBKiLVj0oXf 57rb/CJooYm7fzWzXB0vlqN+iNxXCgmQfnKIHcvmqwjGx/rnNkm744BPvz2xTp/wPSyR svnnfMyZrJsd1EGCxNJB090VbWUuInBecP32D3Ep9QbAUv4Jk2NXocBfAGj3u0hKs2XN DftA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=9EfuMGzeWNG4VV/qzBMKHVckt4mYsHngjUttdA846ZA=; fh=PnlNrJoMGv+PyK2KABk12p6vTcjb5gEyZhOdq71aarg=; b=vCYCrYnMsXMom+C3sySqO3+rToOS/t3XsTX76uf3WzHKszoXy9xCj4tmf79PXQ9boL 31aSzzZijCi61/h6Z+nKbF7QX5dyh8jHTLWP2Si/9U9cQVybZv15lbRpKLWCUKmjvgt3 /DTF+wj2LM5OL9Hb4aK4YrRYjaVHlbBn5knREijoYBrmpC+mfw46JyWzi3wdlBkWFUdJ 0bD3SQsukMk3Lt281KSCWM6G2imT/0xmTJoLZJWQ20FsqAloPjglZJsydBdjFbSUEWMY Utv4UH8UW2p+rkTIUmlsoCza4+YyWZxlGseAwhQzynfwuCrNddo0cKImyY4z8RzDMlc+ Z45Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b="j/67QaIG"; arc=pass (i=1 spf=pass spfdomain=paragon-software.com dkim=pass dkdomain=paragon-software.com dmarc=pass fromdomain=paragon-software.com); spf=pass (google.com: domain of linux-kernel+bounces-40118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b13-20020a170902b60d00b001d75eef04f4si1147699pls.104.2024.01.26.05.29.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 05:29:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b="j/67QaIG"; arc=pass (i=1 spf=pass spfdomain=paragon-software.com dkim=pass dkdomain=paragon-software.com dmarc=pass fromdomain=paragon-software.com); spf=pass (google.com: domain of linux-kernel+bounces-40118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 151DAB23E44 for ; Fri, 26 Jan 2024 13:05:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCE801B80B; Fri, 26 Jan 2024 13:04:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b="j/67QaIG" Received: from relayaws-01.paragon-software.com (relayaws-01.paragon-software.com [35.157.23.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A96D1B599; Fri, 26 Jan 2024 13:04:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=35.157.23.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706274292; cv=none; b=psccPu/0FrfVhwgKcR+Ov6oXAiu5f9pINLdKJIiqqnOgDYbXVyv81OPNlo1YzBLKfx3/tK+n6pNEEiTRxK0CztS/eQtPGD4RETcXpHQm7pnKo/e7ahank34ywSjoJviA5mlDJq8LGKy5pk4hUYJciWcB00Z+ENy4yi4dBsyEw7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706274292; c=relaxed/simple; bh=gCq4g1b3O8Oeg4N8ujXRTfw/tL+4gbF4FTm8029MUrM=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=kBhtQlsJnzDEZ8oQE0WjvOyBsw3cttjh1jMs1WJYOx3dBAgtt17vsggQq7gFwcNRow9HBPYpUIx5h1gEEA+jc0taagfA3FKjHJIuhEu8CPEA2gtKyGEerXAnlD84GRyZN1gHYvxqP57tRfD9y1Lx4ghrtfbzkFbTfoWZCpug6vE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=paragon-software.com; spf=pass smtp.mailfrom=paragon-software.com; dkim=pass (1024-bit key) header.d=paragon-software.com header.i=@paragon-software.com header.b=j/67QaIG; arc=none smtp.client-ip=35.157.23.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=paragon-software.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paragon-software.com Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relayaws-01.paragon-software.com (Postfix) with ESMTPS id C7CAC1DA1; Fri, 26 Jan 2024 12:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1706273447; bh=9EfuMGzeWNG4VV/qzBMKHVckt4mYsHngjUttdA846ZA=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=j/67QaIGKRoxhLEOdLCQfd7Q7ZvtuN+BJhpzpy7NVZFbr27ajjfS2OIviyErZWDEU G+99jEC7OP9wVCjSO9Q4SbjRXkDayos1TOgk4DZjwvHe8UrKQ5fKFkrD2NvOnG990Y cm/c0w8vIflwmAiosbQIhfTXfpkTYOFqRgg0NvqA= Received: from [192.168.211.144] (192.168.211.144) by vdlg-exch-02.paragon-software.com (172.30.1.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 26 Jan 2024 15:57:36 +0300 Message-ID: <97660d80-fbea-4eb8-83af-78f59a6302c7@paragon-software.com> Date: Fri, 26 Jan 2024 15:57:35 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [regressions] ntfs3: empty file on update without forced cache drop Content-Language: en-US To: Linux regressions mailing list , Alexander Viro , Christian Brauner CC: , Kari Argillander , Linux-fsdevel , LKML , Anton Altaparmakov , Linus Torvalds References: <138ed123-0f84-4d7a-8a17-67fe2418cf29@leemhuis.info> <24aa7a8b-40ed-449b-a722-df4abf65f114@leemhuis.info> From: Konstantin Komarov In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: vobn-exch-01.paragon-software.com (172.30.72.13) To vdlg-exch-02.paragon-software.com (172.30.1.105) On 21.01.2024 12:14, Thorsten Leemhuis wrote: > On 05.12.23 13:49, Linux regression tracking (Thorsten Leemhuis) wrote: >> [adding a bunch of people and two lists to the recipients, as Konstantin >> apparently hasn't sent any mail to any lists archived on lore for ~six >> weeks; maybe someone knows what's up or is willing to help out] > [CCing Linus now as well] > > JFYI for the VFS maintainers and everyone else who might care: > > Konstantin afaics still did not look into below regression. Neither did > anyone else afaics. > > But Konstantin is still around, as he recently showed up to post a patch > for review: > https://lore.kernel.org/all/667a5bc4-8cb5-47ce-a7f1-749479b25bec@paragon-software.com/ > > I replied to it in the hope of catch his attention and make him look at > this regression, but that did not work out. > > So it seems we sadly are kinda stuck here. :-/ > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > >> On 27.11.23 07:18, Thorsten Leemhuis wrote: >>> Hi, Thorsten here, the Linux kernel's regression tracker. >>> >>> Konstantin, I noticed a regression report in bugzilla.kernel.org. >>> Apparently it's cause by a change of yours. >>> >>> As many (most?) kernel developers don't keep an eye on bugzilla, I >>> decided to forward it by mail. Note, you have to use bugzilla to reach >>> the reporter, as I sadly[1] can not CCed them in mails like this. >>> >>> Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=218180 : >> Konstantin, are you still around? Would be great if you could look into >> this regression, as this sounds somewhat worrying. >> >>>> The problem I am facing is the following: >>>> 1. I mount an NTFS partition via NTFS3 >>>> 2. I create a file >>>> 3. I write to the file >>>> 4. The file is empty >>>> 5. I remount the partition >>>> 6. The file has the changes I made before the remount >>>> >>>> I can avoid the remount by doing: >>>> sudo sysctl vm.drop_caches=3 >>> See the ticket for more details. It according to the report happens >>> still happens with 6.7-rc2, but not with 6.1.y. The reporter bisected >>> the problem to ad26a9c84510af ("fs/ntfs3: Fixing wrong logic in >>> attr_set_size and ntfs_fallocate") [v6.2-rc1]. >>> >>> Side note: while briefly checking lore for existing problems caused by >>> that change I noticed two syzbot reports about it that apparently nobody >>> looked into: >>> >>> https://lore.kernel.org/all/000000000000bdf37505f1a7fc09@google.com/ >>> https://lore.kernel.org/all/00000000000062174006016bc386@google.com/ >>> [...] > -- > Everything you wanna know about Linux kernel regression tracking: > https://linux-regtracking.leemhuis.info/about/#tldr > If I did something stupid, please tell me, as explained on that page. > > #regzbot poke Hello Thorsten, I apologize for the horrible delay in responding to the bug. I was able to reproduce it in a scenario involving a compressed file. The patch will be ready within the next few days (the response in Bugzilla will also follow). Best regards, Konstantin