Received: by 10.223.185.116 with SMTP id b49csp2944817wrg; Sun, 18 Feb 2018 10:08:40 -0800 (PST) X-Google-Smtp-Source: AH8x2265ci79Qs0kGMODllx5k6nKVvhdRN8BonRhxGHhMhkGNSpYHW6kL13KTruzA31W+gJMuhTP X-Received: by 10.99.96.137 with SMTP id u131mr10539475pgb.103.1518977320620; Sun, 18 Feb 2018 10:08:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518977320; cv=none; d=google.com; s=arc-20160816; b=WkgsPDI1KA52AgRDArvqL3xf2IF5P3HtpIEFDuFX0ol4MC81w3YnST8nsBdF5zmKa5 IBWGrbD2hk5eLRcHVsc8LUc9SXegFKgL6X+XBxYNFYqswwpicHkRFKGGrGiwmhqJws5f jN/LxEZWGsv7gpebwib/Z+SGwfFJIsj+msooygcOJo0bNuuaH6A6p0343OnP3/LMl8+Q 6O+R75PsFOzrzsVlQ8Yw5tvDt4RR3OSqowZ32089KD0taSxqEAUJbq7UCLWvbNbOmZnT Z58sgaMXtEzQpHpsEeZIH8RIT6Yn/ABqptJqI18T+6bdL8zG9uFFFc/RcpCZoIWqTtgc FgYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=ptRoI2LobiySC3vSMo5FHGUJujlKsiCHCoJYw7HoYkU=; b=Bba6Ybo5nTnANbwBMG5SPHClCgz+aTs3Y3bVypktlodl8xOiTfm4ljMdWoWnGUDSbj 9WqTzGHnYYNdjAa3Ga+yvDU6vh/KJRalOlgHM8xxBbCkaWNSwF3V4Oe6KgjvkPy0sT0G ult327vQq61tr1MfF8xJsb4rbgs+AA50q6eyS86zTMsQyMs971kUGFxHh27A+4lJUkj+ RQFUAhXQuEp25hNLk/Xg0rZJpJobwNPm2AKQ34rzhp/Rv2O+j59kiiUAKSEPdjh3292Y rIP0fxhFDA4NWrFWzLRuccJnc4CqvpC7gXSVvQ+OVObVDS9rJrU4lQdC6hvUw1+OKqBq fQbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=om9+GB9X; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc1-v6si4255972plb.250.2018.02.18.10.08.26; Sun, 18 Feb 2018 10:08:40 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=om9+GB9X; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751639AbeBRSHu (ORCPT + 99 others); Sun, 18 Feb 2018 13:07:50 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:35009 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbeBRSHt (ORCPT ); Sun, 18 Feb 2018 13:07:49 -0500 Received: by mail-wm0-f43.google.com with SMTP id x21so11234388wmh.0; Sun, 18 Feb 2018 10:07:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=ptRoI2LobiySC3vSMo5FHGUJujlKsiCHCoJYw7HoYkU=; b=om9+GB9XAyX6EkwNmk1aUm7YgZE+ZF7G1atzxoG3Fg6HQ/iJkcbZVTejogS22pXVJt SPKlVPKO5cvDXkWikbWddEzs06Y7+xOnOLaSfO8O6/+dcqmwRrjF9OC5RBnldszaglwi UimhpDMNnOkdkWg9TC9cH5sNcZAuJSI1+EGq3WHmnBmve3DfJHDvIpqogJOEIkQQ5c0z g4BWRv12dLSws/TP/lteuE4eFxrIgX0BPUtuICnsZWb8SR9IQr9maYwTuucUyUjuk4M9 2esfXGMUJkIla19ZAENOfqCsN31K+jEDEr6OkghudgPx5EK9qGElQcZPr4OcpNInD6uR 5lrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=ptRoI2LobiySC3vSMo5FHGUJujlKsiCHCoJYw7HoYkU=; b=O7B+yDunskmaaT4yDcHNp6/FEn83ZGhjPpBvuTL2+3mvE9fS0fff4An97mYOxHpro/ 2Rt5l+gWLSHKOCO3OQxf82fEIU71I1XofQNwxjVhomKc0Uy8PG9WfBCn1I8pa8O7d9kJ Ac7nGLHvY0u7T2hxLsU59zwlEwa9tVOBRT5sYuiPiZpcmtM2bmAKs0GfYlejakmFu3wL BjKuAlcsMzSQMtPlwBeq0Tpk8uJsDV1lwZuQLNk74ZYolgbQnfoVkMypQM9CnBq6p6dI G/EkJPUraNrv2iNtUjzcYfKY0Rsb3kwo5pHP6KyhvoVUbDF6R6MdGFMNxhZBryk2FcAm MaDQ== X-Gm-Message-State: APf1xPDF1kQGIVPK5OTIV1RDAXZIcrsCG/xS+7OBe6cSiJKJ3FCINSKm qjjml+WbRTE66NB2vkYklw== X-Received: by 10.80.165.201 with SMTP id b9mr16987438edc.211.1518977267927; Sun, 18 Feb 2018 10:07:47 -0800 (PST) Received: from localhost ([193.93.217.14]) by smtp.gmail.com with ESMTPSA id h9sm15857698edi.79.2018.02.18.10.07.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 10:07:47 -0800 (PST) Date: Sun, 18 Feb 2018 20:07:45 +0200 From: Mykola Golub To: Josef Bacik , Jens Axboe Cc: Jason Dillaman , linux-kernel@vger.kernel.org, ceph-devel@vger.kernel.org Subject: nbd: on-the-fly resize does not work any more Message-ID: <20180218180744.GC28602@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, It looks like after the recent changes to nbd driver, on-the-fly resize has stopped working for rbd-nbd. Particularly this change [1] breaks how NBD_SET_SIZE is used for rbd-nbd on-the-fly resize [2]. Could this be fixed? [1] https://github.com/torvalds/linux/commit/639812a1ed9bf49ae2c026086fbf975339cd1eef [2] https://github.com/ceph/ceph/blob/483f14c/src/tools/rbd_nbd/rbd-nbd.cc#L488 -- Mykola Golub