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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5192EB64D7 for ; Tue, 20 Jun 2023 11:32:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230413AbjFTLcm (ORCPT ); Tue, 20 Jun 2023 07:32:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjFTLcm (ORCPT ); Tue, 20 Jun 2023 07:32:42 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 456D3FE for ; Tue, 20 Jun 2023 04:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=97Z1tbXEi81iwK11sb9zlbPrGxeNKyR5BT0VqrVO1xo=; b=peBa/21ahoVER5WSnoG5imd4PF Z677r/PnT5QjZ8e7r8D4mo2HVeYxNgGSpf13RtORf8K//sM3N0gWcShl2j3+NNxLIth/C5f8Icvw0 Udhl4t+50oMmGr9pLIkKB9oV/ONrH4kux7sWv4PvzD2vYKfVHnTy0blP6gMC70+dMLbWaLcvycz2B h688b3XF5ssqK++gEw20BOFaFhSW3YdiVmoayJpIgD2eRN42eQZH14xDMyM5k3ISOmIL8h9RL+iYi AdwlKBOvuk5N+3QV1jocYjvZoDcep141JNlgF8rw3zcCbn7PUB20V+oqSHfno1v/sBySl97TKkKto NTDONmJA==; Received: from 2a02-8389-2341-5b80-39d3-4735-9a3c-88d8.cable.dynamic.v6.surfer.at ([2a02:8389:2341:5b80:39d3:4735:9a3c:88d8] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qBZbD-00B8WC-2b; Tue, 20 Jun 2023 11:32:40 +0000 From: Christoph Hellwig To: Jens Axboe Cc: Pavel Begunkov , io-uring@vger.kernel.org Subject: io_uring req flags cleanups Date: Tue, 20 Jun 2023 13:32:27 +0200 Message-Id: <20230620113235.920399-1-hch@lst.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Hi Jens, while looking at the NOWAIT flag handling I found various bits of code related to it pretty convoluted and confusing. This series tries to clean them up, let me know what you think. Diffstat: cancel.c | 5 +---- filetable.c | 11 ++++------- filetable.h | 28 +++++++++++++++++----------- io_uring.c | 41 ++++++++++------------------------------- io_uring.h | 5 ----- msg_ring.c | 4 +--- rsrc.c | 8 ++++---- rw.c | 4 ++-- 8 files changed, 39 insertions(+), 67 deletions(-)