Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp659452ybi; Fri, 21 Jun 2019 06:07:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYAEETNfTjPlD6OXPkGALfLz1HtKzEDA/ibDUNCUirzlSoXSzEVN0gGjfXNVjexHfVdBp2 X-Received: by 2002:a17:90a:8c18:: with SMTP id a24mr6373574pjo.111.1561122472995; Fri, 21 Jun 2019 06:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561122472; cv=none; d=google.com; s=arc-20160816; b=E94aTNrU1bDnfb8cSmhREXMRAx5PjXANf1Ex2UhPCrGN4fM6PlVLjLD+HLqIqFZn81 EuQT5dyOrStOvO3RYNUdZez2mfS8gljYTB92Y9Ua7rhu5tYOopR4OREmN7zEx8+Y4Hu9 yMlFaC7E7o1HquMmtvNKN1LoaTSZUppOXtvovEVUJaAkbt6OAAi/1o+nkK9ipFeseenh vVCO+f+DGVNzfHyXxgo9mlNFjC8R8Y0I83FLmTTEMqfeHP/1ZayUsIVap62xr2wKr6qu tBH4WWBKBNMOPFgf+y8Ws+W4Mf6diYS7KQxDMngPcYlUk5+0t7/pp7YqCpkj7AmbsZ70 bkhw== 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; bh=jWa7576rgWVWVSW1745Pn4vugUiYSLxuS7AWMaM+/FQ=; b=G5EA/pDxqi7wppt23xXp5Fclk5/ghMysQoD9XXTmNqsE9lCsJEgIeBDLUossb6L99I kGaJFjhZL3iZq0TcPwwFgxr4qtV8ffYpPBlBjHfKjSoYIThZI0OTYTdWmoprBV/ljGsA lelYTAU3cJU6HfriBPZau5Cy2T25jHonYYxGGvN5Jod4VFmxZXD9LM0oUP1hYcKcvutc jQU8er/VraPlL8kUQL56vPGSl7Ib28kQg6w9dykk5lFO1eIBSggxV0EZYZ7dj19oYI9u NJkZ2i2Hgv4WN5BPALSQ3uj8y5A0yDPabGq4prf3ovR2iI7mU/+lmq336xuoSEgOKh7I DOzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=xoGo+FQp; 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 cj16si2701908plb.239.2019.06.21.06.07.36; Fri, 21 Jun 2019 06:07:52 -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=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=xoGo+FQp; 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 S1726716AbfFUNHa (ORCPT + 99 others); Fri, 21 Jun 2019 09:07:30 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44413 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726365AbfFUNHa (ORCPT ); Fri, 21 Jun 2019 09:07:30 -0400 Received: by mail-lj1-f195.google.com with SMTP id k18so5881375ljc.11 for ; Fri, 21 Jun 2019 06:07:29 -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:mime-version :content-transfer-encoding; bh=jWa7576rgWVWVSW1745Pn4vugUiYSLxuS7AWMaM+/FQ=; b=xoGo+FQp2vZ187gQdSdRprVD4vxPNYjUDtjPAO1IyXa/EuR7uCdQ7DeWaCegKic8As isyBoOKpuAuyPKr/2f0AwghYVFts14ArUpmou9WS/9QbyGw6Rf4PQLqF46ydseXryIWF JeLm1NkpF4CHvMAlmrNZTAkfkSDvVQe/a7SjPGxUB7eALo4cHbEpWB7G4VdV5qcqry5C kfFTS3P81Gy4tv5S+pui7Dz7b7kN0m8pzJlTYVJ5GslUWJyYL8ZRkBVsB6CSahpFg0Z8 ONGD7t/P4r7+wITdLeBhui0WmxCDiOORu2kzfLfluN6+7PliYReUASKxUO/DrbSNj6Ln CHKw== 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=jWa7576rgWVWVSW1745Pn4vugUiYSLxuS7AWMaM+/FQ=; b=UzcwNwv9iK2e7tSni0p0o1TvQQKJy+Gbw2PgQy/Sg2pwjwnLtJC5DuAmMGHO6kAwcY nOCoa+1x02RpjiPiISTyUEKCvIGy0BoVodL6ymJ1psqApa6cUMXgmX6Vw7rM0ucdqehl 8aXaO6YJqbD84xtd7WB+78tJTMTpPE4clIm4wHeqZ2cFTmZ9ST1dxY95N2KvaSZuiilr vRGRnt74zRjQBSnxnnz1o/gSkXE/XVLVP0+qQSzu7M3ntQiQV6dPQdj/EwvGGMC5sPMU SLlS7MqYXpusJUhsNd9NPe8HtVjycMSE/4uyiZphFxeUomCZVafOStpl9AXZJWmOzshU YI5A== X-Gm-Message-State: APjAAAX1jYnm0inZfmPPUUvHTMbYUk3m0DxPy9RYI7JwDkXSJTWpEknH /+DHTPDKhmdRg0/47KOY9IR5dQ== X-Received: by 2002:a2e:96d0:: with SMTP id d16mr62786423ljj.14.1561122448747; Fri, 21 Jun 2019 06:07:28 -0700 (PDT) Received: from skyninja.webspeed.dk (2-111-91-225-cable.dk.customer.tdc.net. [2.111.91.225]) by smtp.gmail.com with ESMTPSA id r2sm387100lfi.51.2019.06.21.06.07.26 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 21 Jun 2019 06:07:27 -0700 (PDT) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: axboe@fb.com, hch@lst.de, damien.lemoal@wdc.com, chaitanya.kulkarni@wdc.com, dmitry.fomichev@wdc.com, ajay.joshi@wdc.com, aravind.ramesh@wdc.com, martin.petersen@oracle.com, James.Bottomley@HansenPartnership.com, agk@redhat.com, snitzer@redhat.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, dm-devel@redhat.com, =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [PATCH 0/4] open, close, finish zone support Date: Fri, 21 Jun 2019 15:07:07 +0200 Message-Id: <20190621130711.21986-1-mb@lightnvm.io> X-Mailer: git-send-email 2.19.1 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 Hi, This patch serie adds support for explicit control of zone transitions. To test it, one can use an updated blkzone version that is available here: https://github.com/MatiasBjorling/util-linux.git zonemgmt blkzone can be compiled with: ./autogen.sh ./configure make blkzone After that, the binary is available in the compile directory. Regards, Matias Ajay Joshi (4): block: add zone open, close and finish support null_blk: add zone open, close, and finish support scsi: sd_zbc: add zone open, close, and finish support dm: add zone open, close and finish support block/blk-core.c | 3 ++ block/blk-zoned.c | 51 +++++++++++++++++++++--------- block/ioctl.c | 5 ++- drivers/block/null_blk.h | 4 +-- drivers/block/null_blk_main.c | 13 ++++++-- drivers/block/null_blk_zoned.c | 33 ++++++++++++++++++-- drivers/md/dm-flakey.c | 7 ++--- drivers/md/dm-linear.c | 2 +- drivers/md/dm.c | 5 +-- drivers/scsi/sd.c | 15 ++++++++- drivers/scsi/sd.h | 6 ++-- drivers/scsi/sd_zbc.c | 18 ++++++++--- include/linux/blk_types.h | 35 +++++++++++++++++++-- include/linux/blkdev.h | 57 +++++++++++++++++++++++++++++----- include/uapi/linux/blkzoned.h | 17 ++++++++-- 15 files changed, 221 insertions(+), 50 deletions(-) -- 2.19.1