From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751207AbeC3IzE (ORCPT ); Fri, 30 Mar 2018 04:55:04 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:6713 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750831AbeC3IzC (ORCPT ); Fri, 30 Mar 2018 04:55:02 -0400 To: Andrew Morton , Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , Greg Kurz , CC: , , From: jiangyiwen Subject: [RFC] About 9pfs support "O_DIRECT + aio"? Message-ID: <5ABDFB24.1080207@huawei.com> Date: Fri, 30 Mar 2018 16:53:56 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.16.168] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, Currently, I found virtio-9p in VirtFS don't support "O_DIRECT + aio" mode, both v9fs and qemu. So when user use "O_DIRECT + aio" mode and increase iodepths, they can't get higher IOPS. I want to know why v9fs don't implement this mode? And I will try to implement this mode from now on. Thanks, Yiwen. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1poK-0005kz-OO for qemu-devel@nongnu.org; Fri, 30 Mar 2018 04:55:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1poH-0006IN-MP for qemu-devel@nongnu.org; Fri, 30 Mar 2018 04:55:00 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2095 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f1poH-0006Ai-Bb for qemu-devel@nongnu.org; Fri, 30 Mar 2018 04:54:57 -0400 From: jiangyiwen Message-ID: <5ABDFB24.1080207@huawei.com> Date: Fri, 30 Mar 2018 16:53:56 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [RFC] About 9pfs support "O_DIRECT + aio"? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrew Morton , Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , Greg Kurz , aneesh.kumar@linux.vnet.ibm.com Cc: linux-kernel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, qemu-devel@nongnu.org Hi everyone, Currently, I found virtio-9p in VirtFS don't support "O_DIRECT + aio" mode, both v9fs and qemu. So when user use "O_DIRECT + aio" mode and increase iodepths, they can't get higher IOPS. I want to know why v9fs don't implement this mode? And I will try to implement this mode from now on. Thanks, Yiwen.