From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 6DC131F466 for ; Wed, 15 Jan 2020 01:12:37 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=hSQWnP/64JbwnPvq 1scdhvkGA0x2mYNUdd3HtKJDiaIMiQL3Vq3ZJikRclxDHzqypA7KRNtVOvXlvvxj WWZZwuniTnWPEpgEx/Xtm8OWyZlh5zw0WxBX9Jdbvtb5lDox0H8DXCTg3UGlClMB SQJISOUrFkNKl3CqaET2Wd+VWEI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=W/aPBKrCUUTgF5zPlsu4Lq i/NWw=; b=tBZaD64fVwBbMZr/lShSv+pBnYD0KevYUgCQ/fWWRpw6oBIkAck/U5 zXz2GLU0b/LSGLGtsQ2zPeoEIYWVTK68XxaXDPwpjbbpiJyUAA3GwY7lmInRnl6z WQcVAe6QF/9yJxyMGxtyfMLnBXrKWyVaX9YxqkUfNJxz1/9hiJbDk= Received: (qmail 74622 invoked by alias); 15 Jan 2020 01:12:35 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 74614 invoked by uid 89); 15 Jan 2020 01:12:34 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: heian.cn.fujitsu.com Message-ID: <5E1E66F6.7050404@cn.fujitsu.com> Date: Wed, 15 Jan 2020 09:12:22 +0800 From: Xiao Yang User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.2; zh-CN; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Xiao Yang CC: Subject: Re: [PATCH] sysdeps/posix/posix_fallocate*: Make emulated posix_fallocate() work properly References: <20200114125314.19093-1-yangx.jy@cn.fujitsu.com> In-Reply-To: <20200114125314.19093-1-yangx.jy@cn.fujitsu.com> Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-yoursite-MailScanner-ID: A302349E931E.A90DB X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: yangx.jy@cn.fujitsu.com On 2020/1/14 20:53, Xiao Yang wrote: > Emulated posix_fallocate() only writes data in one block if block > size is 4096, offset is 4095 and len is 2. The emulated code should > write data in two blocks in the case because it actually crosses two > blocks. > Hi, Please ignore this patch because there are some issues on it. I will send v2 patch shortly. Thanks, Xiao Yang