Hi Alan, Erik and Hirofumi and the rest, I want to inform you of my success. So first of all thanks for your help! Assuring, that the buffer is aligned according 4k (pagesize = getpagesize() and multiple of sectorsize = blockdev --getss) using memalign or posix_memalign, did the job. Thanks a lot. A very nice feature. The compiler option -D_GNU_SOURCE helped also to avoid including asm-header of fcntl.h. bye Hubi
Attachment:
pgpfmnjGeTcFo.pgp
Description: PGP signature
- References:
- O_DIRECT for FAT
- From: Hubertus Grobbel <[email protected]>
- Re: O_DIRECT for FAT
- From: Erik Mouw <[email protected]>
- O_DIRECT for FAT
- Prev by Date: [PATCH 2/6][TAKE4] fallocate() on s390
- Next by Date: [PATCH 3/6][TAKE4] fallocate() on ia64
- Previous by thread: Re: O_DIRECT for FAT
- Next by thread: Re: slab hang on boot
- Index(es):