From mboxrd@z Thu Jan 1 00:00:00 1970 From: christophe varoqui Subject: Re: directio path-checker for multipath-tools Date: Wed, 24 Aug 2005 00:48:54 +0200 Message-ID: <1124837334.6937.42.camel@zezette> References: <42FB6447.8000105@suse.de> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <42FB6447.8000105@suse.de> 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 List-Id: dm-devel.ids And may I safely cast to (unsigned char *) instead of (char *) at directio.c::137 ? There is a compilation warning there as is. Regards, On jeu, 2005-08-11 at 16:44 +0200, Hannes Reinecke wrote: > Hi Christophe, > > I've implemented yet another path checker, based on O_DIRECT. > Rationale: On S/390 it's possible to activate multipath support for DASD > devices (called Parallel Access Volume (PAV)). As these are no SCSI > devices the readsector0 path checker wouldn't work. > And as this checker is quite generic it'll work for just about anybody. > -- christophe varoqui