From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3A2B58EA.71F92196@tls.msk.ru> Date: Mon, 04 Dec 2000 11:42:18 +0300 From: "Michael Ju. Tokarev" MIME-Version: 1.0 Subject: Re: [linux-lvm] Using Oracle with lvm AND rawio: read(512) from References: <200012020529.WAA00876@lynx.turbolabs.com> <3A298498.86AB907B@tls.msk.ru> <3A29A31E.BC6A6243@tls.msk.ru> Content-Transfer-Encoding: 7bit Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-lvm@sistina.com "Michael Ju. Tokarev" wrote: > [] > I see in linux/include/linux/lvm.h : > > [...] > #ifdef BLOCK_SIZE > #undef BLOCK_SIZE > #endif > > #ifdef CONFIG_ARCH_S390 > #define BLOCK_SIZE 4096 > #else > #define BLOCK_SIZE 1024 <<<<<<<<<======== > #endif > > #ifndef SECTOR_SIZE > #define SECTOR_SIZE 512 > #endif > [...] Hm. The same definitions are in 2.4-pre kernel patch... So 2.4 lvm should also *not* work for 512-byte i/o size. But Jorg de Jong claims that he successefully created tablespace on raw dev with 2.4-pre11 kernel... I'm confused... And for S390 -- is smallest i/o size 4K ?! [] > Little *strong* suggestion. Please rename BLOCK_SIZE > and SECTOR_SIZE to LVM_BLOCK_SIZE and LVM_SECTOR_SIZE > in lvm.h -- currently used names are very common to > be a source of namespace collisions. The same for 2.4. Let's change those definitions while it isn't *too* late... Regards, Michael.