Received: by 10.192.165.156 with SMTP id m28csp467967imm; Mon, 16 Apr 2018 03:30:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/FDYZ17fal3ZgOh/YBmgMvpTXGzU1QxZcPP5CKSdIeCarDP9MTZFNgmT46K6ShTBNfuj+q X-Received: by 10.98.21.73 with SMTP id 70mr2065394pfv.91.1523874629759; Mon, 16 Apr 2018 03:30:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523874629; cv=none; d=google.com; s=arc-20160816; b=Y1riy5JsMObAfR3tYFUAPd/BK/heyLWgny8GXPJzegbCWsY7LS1+LpQ51Hiq3jXO8C WnqMZPnIebOZOGOm1ClVRou57XmAPAmPfLzoPusjlbMw5VB3krBgct5xSZyWvfge1hII YeXd7L5dsGta6Gaju+cuGxAIDadhD5nmgUWZ/qehIDJ3N5d/cTu/jrIMGAffw2joBiYL FsvcBkuN0Es+E6m/92n5fcHxIHTdQy16YZc1Hrk3Tc/QqJpkzZuNpQjIdKjYTFRO6kIw QW9H2GjK7I/ZXZO6WZJpfWowdVQUkgkvbIHGgiu5GML+mG8STkLYYjdQCZk2P9N6wavn vKrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=LXgQi7wOkHk8hOYroR5IZx+Z6e8v+RWzLfHXEvI4yqs=; b=boBqRHDECqBkgIrZLrPJfRPgzU69AoDLW/YR/eSlJ9ej+Rc8Yck/uBCPRAXuZ6qD9e kSplsQlL2pv513lg4I7+VawovPlbORfoquHf2LIvP4gmXLbyZcwviefo9f7k/DY/Qt3x Y8NWLeyefR8c22h2GAHt6LOGZXWF/nxSLaX9gXUVUU6AV6TDHX5na8iyASsb/m7Jn2GU d3BjBQUkLy5SXFHKAO1OtI6HvV6Xm6gOsmVtxt2Bp36Ozll82IpvcRmzrR8bX6EJvcoW k4Y3E77T2hXjN7TsfTXS9BPG0jyDyQCGJV6K18hI41UCdSVZ6zJbIOrdwoImQRSWjciT ZYrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=ZHxE3i0C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si9562339pge.271.2018.04.16.03.30.15; Mon, 16 Apr 2018 03:30:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=ZHxE3i0C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753218AbeDPKZn (ORCPT + 99 others); Mon, 16 Apr 2018 06:25:43 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:45921 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbeDPKZl (ORCPT ); Mon, 16 Apr 2018 06:25:41 -0400 Received: by mail-wr0-f196.google.com with SMTP id u11so24435669wri.12 for ; Mon, 16 Apr 2018 03:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=javigon-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LXgQi7wOkHk8hOYroR5IZx+Z6e8v+RWzLfHXEvI4yqs=; b=ZHxE3i0C6bElWdLVxZ4rJI24FznnGWegWqf9ROM3RBJSLfrxHRjQ+QzdA0ncCall5M TujurLFMkpXoG0tS6NW9kbikSKRyWpuzNV7WcodpaMXEd+loSCQpLHWabyrwUreQ+bBM CrhZ1+JlI6d06mzTsFcr7bNnh+D+9CHJ5G1aSXEkzpV2jcnjzjYo0rhBYsaCQ7flIMGX PPgTOm346HtPry+ELon2jBbo9FOIc4e6YBO664Cdbrqy8VhV7kNlrtNSKGsCMbjmXpdo /pQhcUF8qLO9RdJ3lgWarEuiCFRtmf2WhLOgQbWeZF6EYR1YUtNhUyucg8UJCyuhD7g3 Vgqw== 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:mime-version :content-transfer-encoding; bh=LXgQi7wOkHk8hOYroR5IZx+Z6e8v+RWzLfHXEvI4yqs=; b=K3WANnzs8YmpKkE4RrKkSXDLvkozdjhbVWeZdJwyqE0ULNyrxWU4Y5LLM5QVRKXuKd zbbHBbrrlYuhASqg8ogCbbYJKI2Ti9eGz12SapExfDzwixs1sda90UK7p5jKDooLxz9v CPRhGdplWcUqGzp1qAs3WbHcVUF9KtlF24+S7F6rttprxZ5u1Fq49XwqUcmFjIPtUnP1 AT8SMVltoLSBt78BKmyWuXJAY8xdm97JGXx5l+MPytzAVrosGKbh5Sl1C4DtKZ+Te/d2 jlSU7ZCU1+qDjZGiWMWiTdRNsdsbP6CGlhlJQa3w8B2lClM7h+DgqpmMvG9GZ7Wn/QDL yX/g== X-Gm-Message-State: ALQs6tD0/7NO0+JgiLMRrsA2bEO7XHJKRDN3HkHW0m6lPe5WgoBWfxEY T++l0iWMz8LPQnA5UMY7t9K93JCX X-Received: by 10.80.222.9 with SMTP id z9mr31753707edk.245.1523874340561; Mon, 16 Apr 2018 03:25:40 -0700 (PDT) Received: from uhalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id q11sm4250074edj.2.2018.04.16.03.25.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Apr 2018 03:25:40 -0700 (PDT) From: "=?UTF-8?q?Javier=20Gonz=C3=A1lez?=" X-Google-Original-From: =?UTF-8?q?Javier=20Gonz=C3=A1lez?= To: mb@lightnvm.io Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= Subject: [PATCH 00/11] lightnvm: pblk: small fixes Date: Mon, 16 Apr 2018 12:25:21 +0200 Message-Id: <1523874332-6272-1-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A bunch of small fixes and extra checks for pblk. Non is critical, though ("lightnvm: pblk: check for chunk size before allocating it") might be nice to get into 4.17 as it is a fix for the 2.0 pblk patches. Javier Javier González (11): lightnvm: pblk: fail gracefully on line alloc. failure lightnvm: pblk: recheck for bad lines at runtime lightnvm: pblk: check read lba on gc path lightnvn: pblk: improve error msg on corrupted LBAs lightnvm: pblk: warn in case of corrupted write buffer lightnvm: pblk: return NVM_ error on failed submission lightnvm: pblk: remove unnecessary indirection lightnvm: pblk: remove unnecessary argument lightnvm: pblk: check for chunk size before allocating it lightnvn: pass flag on graceful teardown to targets lightnvm: pblk: remove dead function drivers/lightnvm/core.c | 10 +++--- drivers/lightnvm/pblk-core.c | 86 ++++++++++++++++++++++++++------------------ drivers/lightnvm/pblk-gc.c | 10 +++--- drivers/lightnvm/pblk-init.c | 38 ++++++++++++-------- drivers/lightnvm/pblk-map.c | 33 ++++++++++++----- drivers/lightnvm/pblk-rb.c | 5 ++- drivers/lightnvm/pblk-read.c | 73 ++++++++++++++++++++++++++++--------- drivers/lightnvm/pblk.h | 7 ++-- include/linux/lightnvm.h | 2 +- 9 files changed, 173 insertions(+), 91 deletions(-) -- 2.7.4