From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH 4/4] Test chunk size against both origin and snapshot sector size Date: Mon, 15 Mar 2010 12:53:43 -0400 Message-ID: References: <20100315145224.GE6853@redhat.com> <20100315153031.GA14350@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: (Mikulas Patocka's message of "Mon, 15 Mar 2010 11:52:56 -0400 (EDT)") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development Cc: Alasdair G Kergon , Mike Snitzer List-Id: dm-devel.ids >>>>> "Mikulas" == Mikulas Patocka writes: >> Do you mean something like 512b logical and 4K physical? Such >> devices must perform the appropriate r-m-w. A 4K formatted device >> will report 4K for both logical and physical (unless the device and >> format tool allows for physical != logical). >> >> Mike Mikulas> No, I meant what happens if you format it with 514, 516, etc Mikulas> physical blocksize. the Linux clearly doesn't support it, so Mikulas> what will it do with it? I'll try when I finish tests on 4K. We only support powers of two (except when the drive is formatted with DIF but even in that case the logical_block_size is a power of two). -- Martin K. Petersen Oracle Linux Engineering