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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15223C433E1 for ; Sat, 16 May 2020 03:54:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EF3092074A for ; Sat, 16 May 2020 03:54:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726541AbgEPDyz (ORCPT ); Fri, 15 May 2020 23:54:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:40668 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726247AbgEPDyz (ORCPT ); Fri, 15 May 2020 23:54:55 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3032CAC91; Sat, 16 May 2020 03:54:56 +0000 (UTC) From: Coly Li To: linux-block@vger.kernel.org, damien.lemoal@wdc.com, hare@suse.com, hch@lst.de, axboe@kernel.dk Cc: linux-bcache@vger.kernel.org, kbusch@kernel.org, Coly Li Subject: [RFC PATCH v2 0/4] block layer change necessary for bcache zoned device support Date: Sat, 16 May 2020 11:54:30 +0800 Message-Id: <20200516035434.82809-1-colyli@suse.de> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi folks, Recently I am working on supprt bcache to be created on zoned devices e.g. host managed SMR hard drives, then frequent random READ I/Os on these SMR drives can be accelerated. To make the bcache code work correctly, there are some small but maybe important changes of block layer code are necessary. Thanks for the review comments from Keith Busch, I fix the typo and post the v2 series for your review and comments. Thank you all in advance. Coly Li --- Coly Li (4): block: change REQ_OP_ZONE_RESET from 6 to 13 block: block: change REQ_OP_ZONE_RESET_ALL from 8 to 15 block: remove queue_is_mq restriction from blk_revalidate_disk_zones() block: set bi_size to REQ_OP_ZONE_RESET bio block/blk-zoned.c | 6 ++++-- include/linux/blk_types.h | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) -- 2.25.0