hi Randy and All: > > It means that the <buffer> still is not aligned to a 512-byte boundary. > Try > char buffer[1024] __attribute__ ((aligned(1024))); > > Well, that is aligned to 1024 bytes, not 512, but whatever. the suggestion you gave to me works ^^ is there any alignment check in kernel FS such that it will directly output to device instead of getting data from page cache? appreciate all your help, -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html