From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: mirrored device with thousand of mappingtableentries Date: Mon, 07 Mar 2011 15:22:33 -0500 Message-ID: References: <20110228114801.GZ3626@agk-dp.fab.redhat.com> <20110228121149.GA3626@agk-dp.fab.redhat.com> <20110228131028.GB3626@agk-dp.fab.redhat.com> <4D6BA566.1050305@redhat.com> <4D73F104.2050807@redhat.com> <20110307201027.GB31194@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: <20110307201027.GB31194@redhat.com> (Mike Snitzer's message of "Mon, 7 Mar 2011 15:10:27 -0500") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mike Snitzer Cc: device-mapper development , "Martin K. Petersen" List-Id: dm-devel.ids >>>>> "Mike" == Mike Snitzer writes: Mike> So it seems we need to establish bi->sector_size during the final Mike> stage of blk_integrity_register(), e.g. when a template is passed. Mike> Not sure if you'd agree with that change in general but it'll work Mike> for DM because the queue_limits are established before Mike> dm_table_set_integrity() is set. Let me contemplate a bit since I already have some changes brewing in this area (T10 now permits protection information to be placed at non-logical block size intervals). -- Martin K. Petersen Oracle Linux Engineering