From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50EA5C3A5A0 for ; Mon, 19 Aug 2019 22:03:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D1FF214DA for ; Mon, 19 Aug 2019 22:03:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728351AbfHSWDu convert rfc822-to-8bit (ORCPT ); Mon, 19 Aug 2019 18:03:50 -0400 Received: from mx2.suse.de ([195.135.220.15]:52296 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728014AbfHSWDu (ORCPT ); Mon, 19 Aug 2019 18:03:50 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A4F25B01E; Mon, 19 Aug 2019 22:03:49 +0000 (UTC) Date: Tue, 20 Aug 2019 00:03:48 +0200 From: David Disseldorp To: ronnie sahlberg Cc: linux-cifs Subject: Re: FSCTL_QUERY_ALLOCATED_RANGES issue with Windows2016 Message-ID: <20190820000348.440ee8ce@suse.de> In-Reply-To: <20190819183151.15642e8f@suse.de> References: <20190815174854.05661672@suse.de> <20190819183151.15642e8f@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org On Mon, 19 Aug 2019 18:31:51 +0200, David Disseldorp wrote: > Nothing stands out in the captures to me, but I'd be curious whether you > see any differences in behaviour if you set write-through on open or > explicitly FLUSH after the SET-SPARSE call. Hmm actually it looks like there's already a FLUSH shortly after the mtime update following the SetInfo(EOF). One thing that does look a little weird is the AllocationSize field before that FLUSH - in seek_bad.cap.gz it's 2M, whereas it's ~6M in seek_good.cap.gz. This'd be a good case to use Aurélien's smbcmp utility :) Cheers, David