From patchwork Tue Apr 25 18:52:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Shilovskiy X-Patchwork-Id: 9699451 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 020CF601D3 for ; Tue, 25 Apr 2017 18:54:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E54112864B for ; Tue, 25 Apr 2017 18:54:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA19628650; Tue, 25 Apr 2017 18:54:08 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 3758A2864D for ; Tue, 25 Apr 2017 18:54:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1953529AbdDYSyH (ORCPT ); Tue, 25 Apr 2017 14:54:07 -0400 Received: from mail-cys01nam02on0135.outbound.protection.outlook.com ([104.47.37.135]:14992 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1951843AbdDYSyF (ORCPT ); Tue, 25 Apr 2017 14:54:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=skO+k5PPjyJYTFJUhCbDPViIJC/Wnx4bWSANweIDLXI=; b=RvJ+xGBbG5lfbB4rF16u0vqnzYATP+u2udyZtdmkkPjTOyXEjZOMXN+ZNXYwO97xRCGYgR2cktI9tOw7XBNKgBveY4bBdmmvdliEdHbbiFEGKeFnTkJWcWzBJeU21Kia+iMc6tjgAx+S00Wam2qc3m8wW5/4wdKCfn81tlrxpHA= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=microsoft.com; Received: from ubuntu-vm.corp.microsoft.com (2001:4898:80e8:5::63b) by CY4PR03MB2551.namprd03.prod.outlook.com (10.173.41.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Tue, 25 Apr 2017 18:52:43 +0000 From: Pavel Shilovsky To: linux-cifs@vger.kernel.org Cc: piastryyy@gmail.com, Steve French , Jeff Layton Subject: [PATCH v2 1/3] CIFS: Add asynchronous context to support kernel AIO Date: Tue, 25 Apr 2017 11:52:29 -0700 Message-Id: <1493146351-124933-2-git-send-email-pshilov@microsoft.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1493146351-124933-1-git-send-email-pshilov@microsoft.com> References: <1493146351-124933-1-git-send-email-pshilov@microsoft.com> MIME-Version: 1.0 X-Originating-IP: [2001:4898:80e8:5::63b] X-ClientProxiedBy: BN6PR1601CA0008.namprd16.prod.outlook.com (10.172.104.146) To CY4PR03MB2551.namprd03.prod.outlook.com (10.173.41.150) X-MS-Office365-Filtering-Correlation-Id: 79f10239-2885-41c3-c284-08d48c0c4231 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(201703131423075)(201703031133081); SRVR:CY4PR03MB2551; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2551; 3:/teS3ItdSlIqE9RTliCj0Cn11GKRSo2RRPHdPX0SXWG9FR+y2sq2PW1pyJsqQnKo6NuB0atl32jDpSZcIjJU5gc6sHLe41r6FeFaD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ERgi4=; 20:E8vQUt5EEC4IV0M+XlPsY3IATXyck60asueKnr6qR07iyRDJ7gZsgVTQangjX4qD8bFV3/oRFvqCxvtyLbgcYQao1vHrQdZGDf/XYQhm0OVzz+vAezbsrUJFCcbeyjmooSSV2pKXtkPcCnl1jPpo3UXdNIx54FyN7kS4XrXbJAWuNGaxb4MAc999XzzC1nYhj7ruQAZJCLXxUPJSLrecQTfe/tFRXBwYjtV8OgHDCOD85hTuTPF/ltjLKoVU9C5yDND8H64bCZnTElgiFfeRaAa+vc5khE/1HGvqdfiC1Vocxc6wKnjVRt91vKBZQJ1Y7ujyBTRLk7mHmXp2Wdk/GwmP1V/jnzAvDwbk8BE8psIRCSorMWwd5KUhHbojoUD3HCatvl2LaFqD9WUJ++O5aUei13dDBbi7S+Bud75yeaLK8wIuJc3/SBhg5cLDjcZDgLbI7KTTW0QOPFA4yzglJWcY17QhepgEoFX5PqPvq71OD2rfgJrwMxFrYWQFYTOd X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:CY4PR03MB2551; BCL:0; PCL:0; RULEID:; SRVR:CY4PR03MB2551; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2551; 4:5nwZAzAWOb1CnjyeZysBQoVu1UudVHBF6oUNnIcES/ejY5hdm5BXNwL/z1QauIClfPvUI20HCerHEoWTio+4y7Q4aNTQxcVwZVrM04WSLU2w3rGTBqUPoZOIWPizTV5qt3BXElXcnvgX/cP108Qbmq6NoqnndbwepwI8+bQprB6IezQ7/C8SI6uAe6ejHiD6AG00CIZWo2be6aKKEk3pbAvuKqcTd1ENkeZ6kd6YQB7U63US/jZ38I+WwsL9rknJ3ZTD3T9Zp91tJlRo8pEut6qU4Qaz3CVkIBe83kGpb6XR4zt/ECd5cXKBrfFpmicqm8n3w2w4NbyYWvhcYCRaXJGKbfN79t0PMmb1FS/N0e59gBqmeWzxMMR/Sou1hUDGHJ7aRPty4CESEg1ojH1bAiGbM6G/7/cd5kWy/+uHx/jYFCcJYQSlC+ivBy+auimyKKollwlSkTh5xPkzKHafX/0u0zpO+OaSRcpw7azWEXU8NpJhyDkA2tk6U20bqfCsEa4++NA7oI3gT2O5JbrNxItjzAztzem1yaa6QJz7JbGrQ0v8xxI92eaNmsSmCNKw50y9ZxP+wy4a/jtDIjfnaAZYTaSHmrWYWgM9PxhQpIodLT51mAeykUX307Uflo2szWNteSGrmCPtC9av9OpnVYDEegC1DhmoBausXTHEO8DZb02NjvmZyoKFmpAC5uDoBkHr/lA3bzBSphT6dX5NHscQ5+DuxVFVRDRqCDCYk6g= X-Forefront-PRVS: 0288CD37D9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39410400002)(39450400003)(39860400002)(39840400002)(39850400002)(39400400002)(76176999)(6486002)(25786009)(38730400002)(48376002)(6916009)(5003940100001)(50466002)(42186005)(6116002)(4326008)(2351001)(10090500001)(7736002)(33646002)(6666003)(189998001)(50986999)(2361001)(8676002)(86362001)(110136004)(36756003)(86612001)(2950100002)(81166006)(53936002)(50226002)(2906002)(5660300001)(54906002)(5005710100001)(305945005)(47776003)(10290500003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR03MB2551; H:ubuntu-vm.corp.microsoft.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2551; 23:gGLIajGVaDfsn5TJzykJvTRyddBLXMGFXOGS4TljL?= =?us-ascii?Q?jNM8dVotP42M6UJtcWCgZ4/H0/ZDgLOSldBR6ZkgdByOdSNu/3gWnjgOt0yl?= =?us-ascii?Q?l7YVfIHCwrqKGxAWoTx3HhmKkGikx3kUGnxzl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-Diagnostics: 1; CY4PR03MB2551; 7:OjM5N0CrgTDvOivnbf/CV/XptMMLOaVDv20x7cUNg2IizCG9H8oTlF7OE+9ZFQRHQJiBl8z5X+60++3ZAo73dWKdo7ZXW2bW8ICBDjUyWY9WMZwGKEuMRy3RLcQUkKdTxt20ubqPfuJBl1eLiPthSWeGtX+0RqS+/t6bwRpZGj27D0Mm9ovIQQaEEok+pZoB295Q5Em0UPg83y5fzMre0SNjFu0ndyUVZ0ZbF8zcgS6kY+ZN8f1itqD33uofUH6iML5XjVPB2xrvhvTtYjA1maH4onblYfEeGmIz+BBWaNSRjXM3eUIFD+N4O2uoj6abIW/VhwFLXQHsB3ycWRNB0A== X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2017 18:52:43.6379 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2551 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 Currently the code doesn't recognize asynchronous calls passed by io_submit() and processes all calls synchronously. This is not what kernel AIO expects. This patch introduces a new async context that keeps track of all issued i/o requests and moves a response collecting procedure to a separate thread. This allows to return to a caller immediately for async calls and call iocb->ki_complete() once all requests are completed. For sync calls the current thread simply waits until all requests are completed. Signed-off-by: Pavel Shilovsky --- fs/cifs/cifsglob.h | 16 +++++++ fs/cifs/cifsproto.h | 3 ++ fs/cifs/misc.c | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 139 insertions(+) diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 37f5a41..bb41226 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1115,6 +1115,22 @@ struct cifs_io_parms { struct cifs_tcon *tcon; }; +struct cifs_aio_ctx { + struct kref refcount; + struct list_head list; + struct mutex aio_mutex; + struct completion done; + struct iov_iter iter; + struct kiocb *iocb; + struct cifsFileInfo *cfile; + struct bio_vec *bv; + unsigned int npages; + ssize_t rc; + unsigned int len; + unsigned int total_len; + bool should_dirty; +}; + struct cifs_readdata; /* asynchronous read support */ diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 97e5d23..e49958c 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -535,4 +535,7 @@ int __cifs_calc_signature(struct smb_rqst *rqst, struct shash_desc *shash); enum securityEnum cifs_select_sectype(struct TCP_Server_Info *, enum securityEnum); +struct cifs_aio_ctx *cifs_aio_ctx_alloc(void); +void cifs_aio_ctx_release(struct kref *refcount); +int setup_aio_ctx_iter(struct cifs_aio_ctx *ctx, struct iov_iter *iter, int rw); #endif /* _CIFSPROTO_H */ diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index d3fb115..c214d77 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "cifspdu.h" #include "cifsglob.h" #include "cifsproto.h" @@ -745,3 +746,122 @@ parse_dfs_referrals(struct get_dfs_referral_rsp *rsp, u32 rsp_size, } return rc; } + +struct cifs_aio_ctx * +cifs_aio_ctx_alloc(void) +{ + struct cifs_aio_ctx *ctx; + + ctx = kzalloc(sizeof(struct cifs_aio_ctx), GFP_KERNEL); + if (!ctx) + return NULL; + + INIT_LIST_HEAD(&ctx->list); + mutex_init(&ctx->aio_mutex); + init_completion(&ctx->done); + kref_init(&ctx->refcount); + return ctx; +} + +void +cifs_aio_ctx_release(struct kref *refcount) +{ + struct cifs_aio_ctx *ctx = container_of(refcount, + struct cifs_aio_ctx, refcount); + + cifsFileInfo_put(ctx->cfile); + kvfree(ctx->bv); + kfree(ctx); +} + +#define CIFS_AIO_KMALLOC_LIMIT (1024 * 1024) + +int +setup_aio_ctx_iter(struct cifs_aio_ctx *ctx, struct iov_iter *iter, int rw) +{ + ssize_t rc; + unsigned int cur_npages; + unsigned int npages = 0; + unsigned int i; + size_t len; + size_t count = iov_iter_count(iter); + unsigned int saved_len; + size_t start; + unsigned int max_pages = iov_iter_npages(iter, INT_MAX); + struct page **pages = NULL; + struct bio_vec *bv = NULL; + + if (iter->type & ITER_KVEC) { + memcpy(&ctx->iter, iter, sizeof(struct iov_iter)); + ctx->len = count; + iov_iter_advance(iter, count); + return 0; + } + + if (max_pages * sizeof(struct bio_vec) <= CIFS_AIO_KMALLOC_LIMIT) + bv = kmalloc_array(max_pages, sizeof(struct bio_vec), + GFP_KERNEL); + + if (!bv) { + bv = vmalloc(max_pages * sizeof(struct bio_vec)); + if (!bv) + return -ENOMEM; + } + + if (max_pages * sizeof(struct page *) <= CIFS_AIO_KMALLOC_LIMIT) + pages = kmalloc_array(max_pages, sizeof(struct page *), + GFP_KERNEL); + + if (!pages) { + pages = vmalloc(max_pages * sizeof(struct page *)); + if (!bv) { + kvfree(bv); + return -ENOMEM; + } + } + + saved_len = count; + + while (count && npages < max_pages) { + rc = iov_iter_get_pages(iter, pages, count, max_pages, &start); + if (rc < 0) { + cifs_dbg(VFS, "couldn't get user pages (rc=%zd)\n", rc); + break; + } + + if (rc > count) { + cifs_dbg(VFS, "get pages rc=%zd more than %zu\n", rc, + count); + break; + } + + iov_iter_advance(iter, rc); + count -= rc; + rc += start; + cur_npages = DIV_ROUND_UP(rc, PAGE_SIZE); + + if (npages + cur_npages > max_pages) { + cifs_dbg(VFS, "out of vec array capacity (%u vs %u)\n", + npages + cur_npages, max_pages); + break; + } + + for (i = 0; i < cur_npages; i++) { + len = rc > PAGE_SIZE ? PAGE_SIZE : rc; + bv[npages + i].bv_page = pages[i]; + bv[npages + i].bv_offset = start; + bv[npages + i].bv_len = len - start; + rc -= len; + start = 0; + } + + npages += cur_npages; + } + + kvfree(pages); + ctx->bv = bv; + ctx->len = saved_len - count; + ctx->npages = npages; + iov_iter_bvec(&ctx->iter, ITER_BVEC | rw, ctx->bv, npages, ctx->len); + return 0; +}