From patchwork Mon May 28 08:58:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matias Bjorling X-Patchwork-Id: 10430153 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 5345260249 for ; Mon, 28 May 2018 09:04:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43FFF28BDB for ; Mon, 28 May 2018 09:04:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3634728BE1; Mon, 28 May 2018 09:04:09 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable 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 3C94128BDB for ; Mon, 28 May 2018 09:04:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933061AbeE1JC5 (ORCPT ); Mon, 28 May 2018 05:02:57 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34649 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754087AbeE1I7E (ORCPT ); Mon, 28 May 2018 04:59:04 -0400 Received: by mail-wr0-f193.google.com with SMTP id j1-v6so19030299wrm.1 for ; Mon, 28 May 2018 01:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8C12tO1thka1R1Y0zA9QKIEflI/KGU0eQMWmcKgZkP0=; b=bJ6xitWKGeqrOT3V7X+X7ZiGkBXXgve/mx7OsyhH72QA1aRjKNa2Q6CzVbdWsrn6GJ QXlZiZXt17+9n2MboaPhG5nVtSy6RgMmFZsih+0ZkZNmAzVySJ99E8MNzeeSsotaWZuT YOjLLRQPoXiJuMdH6/z2v2v/mBNLBSnSbZ7shIsiCbEhj5BVXZMgDIxPne0HShcZA+QI tHkbfDCB9QdZEIX4DeTXm0K2NLOHlkclVKxrN08G4tCik5wKLa1gVSNubFakSkVAstp5 ow0v3IRPS6kArlWEuAmMKbAAqqau3BbE6uk8TkI1kZisRhxUapbZOvyQyFD6hyN4nIql DO5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8C12tO1thka1R1Y0zA9QKIEflI/KGU0eQMWmcKgZkP0=; b=JICbwzarC4l1I+lc6BTdvwVDlgIpqlW8d5896X3/CaJ/qz5sBwJingmIDdbiLq87+a oXHo8Qx3TnPPllHsIYzzuuUIi4chXUODCEIW+SArXKibx7zAZ2waMfNKlKU+3jTO5PC/ HxpuCtgU5WyH22ztazWWMDEdCaBKogl1wHkDwnLYEpz0mEKEm4r6O86EacMdZL6WQY0r 70TwrugpiwIsWxRaVo0fg2Xm/83dXXz5gK3c15tEvDZnS95eisDKxfHHc+lERE2Yt9yV Bs3fmr/QCsB8br2TEvw5hqUUyIqrEwyqY+7NxgCWezGj4CNNj0kUjcfWmQPdu2wF6mJy ho+A== X-Gm-Message-State: ALKqPwcsc3kWqq4LEsSIbG+jNTZYIZ0FLEMTFn0dvrzfxUrtCD/Rc+3t daRYbHvp/kbaZywRYnZpxlhz7w== X-Google-Smtp-Source: ADUXVKINwZuGjx4PqNgwaz4blmlt1xPTk7Y16paUwMwLRnKnNx/i8hr049Zt8eOZOISuAVoAu85JKg== X-Received: by 2002:a19:9c4b:: with SMTP id f72-v6mr6498030lfe.119.1527497943617; Mon, 28 May 2018 01:59:03 -0700 (PDT) Received: from Macroninja.cnexlabs.com (95-166-82-66-cable.dk.customer.tdc.net. [95.166.82.66]) by smtp.gmail.com with ESMTPSA id u2-v6sm5777848lji.4.2018.05.28.01.59.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 May 2018 01:59:02 -0700 (PDT) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: axboe@fb.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= , =?UTF-8?q?Javier=20Gonz=C3=A1lez?= , =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [GIT PULL 11/20] lightnvm: pblk: remove dead function Date: Mon, 28 May 2018 10:58:32 +0200 Message-Id: <20180528085841.26684-12-mb@lightnvm.io> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180528085841.26684-1-mb@lightnvm.io> References: <20180528085841.26684-1-mb@lightnvm.io> MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Javier González Remove dead function for manual sync. I/O Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-core.c | 7 ------- drivers/lightnvm/pblk.h | 1 - 2 files changed, 8 deletions(-) diff --git a/drivers/lightnvm/pblk-core.c b/drivers/lightnvm/pblk-core.c index 5f1e5b1b3094..5dae72e8b46b 100644 --- a/drivers/lightnvm/pblk-core.c +++ b/drivers/lightnvm/pblk-core.c @@ -342,13 +342,6 @@ void pblk_write_should_kick(struct pblk *pblk) pblk_write_kick(pblk); } -void pblk_end_io_sync(struct nvm_rq *rqd) -{ - struct completion *waiting = rqd->private; - - complete(waiting); -} - static void pblk_wait_for_meta(struct pblk *pblk) { do { diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h index 0c69eb880f56..5a4daf0b949d 100644 --- a/drivers/lightnvm/pblk.h +++ b/drivers/lightnvm/pblk.h @@ -796,7 +796,6 @@ void pblk_down_rq(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas, void pblk_down_page(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas); void pblk_up_rq(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas, unsigned long *lun_bitmap); -void pblk_end_io_sync(struct nvm_rq *rqd); int pblk_bio_add_pages(struct pblk *pblk, struct bio *bio, gfp_t flags, int nr_pages); void pblk_bio_free_pages(struct pblk *pblk, struct bio *bio, int off,