From patchwork Wed Mar 13 04:37:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ronnie Sahlberg X-Patchwork-Id: 10850591 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E8DE51850 for ; Wed, 13 Mar 2019 04:38:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D36FB29831 for ; Wed, 13 Mar 2019 04:38:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C735029A52; Wed, 13 Mar 2019 04:38:01 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 8538E29A5C for ; Wed, 13 Mar 2019 04:38:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725878AbfCMEiB (ORCPT ); Wed, 13 Mar 2019 00:38:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33038 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbfCMEiB (ORCPT ); Wed, 13 Mar 2019 00:38:01 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 15B9A3086225; Wed, 13 Mar 2019 04:38:01 +0000 (UTC) Received: from test1135.test.redhat.com (vpn2-54-89.bne.redhat.com [10.64.54.89]) by smtp.corp.redhat.com (Postfix) with ESMTP id A19885D706; Wed, 13 Mar 2019 04:38:00 +0000 (UTC) From: Ronnie Sahlberg To: linux-cifs Cc: Steve French , Pavel Shilovsky Subject: [PATCH 0/2] Start to fix fallocate support Date: Wed, 13 Mar 2019 14:37:47 +1000 Message-Id: <20190313043749.832-1-lsahlber@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Wed, 13 Mar 2019 04:38:01 +0000 (UTC) Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Steve, Pavel These initial two patches fixes fallocate -z (zero range) support against windows2016 shares. This is a different case than what causes generic/469 to fail against samba shares but the approach for all these failures should be similar. It is a WIP in that it only addresses one single instance of this general limited fallocate support in cifs.ko. Next steps if you agree this is the way to go, would be to try to think about how we can expand this to some/all of the othter cases as well but perhaps without making too much code duplication. Steve, can you run this against the buildbot and see that there are no new failures from it?