Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: O_DIRECT

$
0
0
Shesha Sreenivasamurthy writes: (Summary) Ok, I got to know what exactly is the problem ,,

Basically on my partition total sectors is not a muliple of 8 (Each sector = 512, 4096/512=8). Now the start of my read/write point WILL always be 1024 byte alligned in case of odd and even # of sectors becasue, Even number of sectors is trivial/obvious, but in case of odd # of sectors, when we do a SEEK_END it will always seek to the last EVEN sector of the disk.

Viewing all articles
Browse latest Browse all 1267

Trending Articles