From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.133]:44430 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752561AbeC1H0v (ORCPT ); Wed, 28 Mar 2018 03:26:51 -0400 From: Christoph Hellwig To: viro@zeniv.linux.org.uk Cc: Avi Kivity , linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: io_pgetevents & aio fsync V2 Date: Wed, 28 Mar 2018 09:26:33 +0200 Message-Id: <20180328072639.16885-1-hch@lst.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi all, this patch adds workqueue based fsync offload. Version of this patch have been floating around for a couple years, but we now have a user with seastar used by ScyllaDB (who sponsored this work) that really wants this in addition to the aio poll support. More details are in the patch itself. Because the iocb types have been defined sine day one (and probably were supported by RHEL3) libaio already supports these calls as-is. This also pulls in the aio cleanups and io_pgetevents support previously submitted and review as part of the aio poll series. The aio poll series will be resubmitted on top of this series A git tree is available here: git://git.infradead.org/users/hch/vfs.git aio-fsync.3 Gitweb: http://git.infradead.org/users/hch/vfs.git/shortlog/refs/heads/aio-fsync.3 Changes since V1: - remove a BUG_ON_ONE(is_sync_kiocb(kiocb)); - moved cancellation patches to the poll series - improve a list_empty check