From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by mail09.linbit.com (LINBIT Mail Daemon) with ESMTP id 86D46105633D for ; Thu, 30 Mar 2017 17:20:19 +0200 (CEST) To: Mike Snitzer From: "Martin K. Petersen" References: <20170323143341.31549-1-hch@lst.de> <20170323143341.31549-23-hch@lst.de> <20170330100641.GI5939@soda.linbit> <20170330114408.GA15777@lst.de> <20170330134957.GA508@redhat.com> Date: Thu, 30 Mar 2017 11:20:09 -0400 In-Reply-To: <20170330134957.GA508@redhat.com> (Mike Snitzer's message of "Thu, 30 Mar 2017 09:49:57 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: axboe@kernel.dk, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, martin.petersen@oracle.com, philipp.reisner@linbit.com, linux-block@vger.kernel.org, dm-devel@redhat.com, shli@kernel.org, Christoph Hellwig , agk@redhat.com, drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] [PATCH 22/23] drbd: implement REQ_OP_WRITE_ZEROES List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mike Snitzer writes: > I can work on this now. Only question I have is: should DM thinp take > care to zero any misaligned head and tail? (I assume so but with all > the back and forth between Bart, Paolo and Martin I figured I'd ask > explicitly). Yep, let's make sure our semantics match the hardware ditto. - So write zeroes should behave deterministically and explicitly handle any blocks that can't be cleared via deprovisioning. - And discard can work at the discard granularity in a non-deterministic fashion. -- Martin K. Petersen Oracle Linux Engineering