Re: O_DIRECT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The read/write buffer must be soft_block_size alligned right?  The memory allocated by malloc may not be alligned. To allign it to the softblocksize I need to know the size. Am I missing something ???

bert hubert wrote:
On Tue, Jul 20, 2004 at 12:17:31PM -0700, Shesha Sreenivasamurthy wrote:
  
Thank you very much Hubert.

Regarding my second question, what I mean is, to calculate the soft 
block size of a partition on which there is no filesystem created, I am 
using the IOCTL "BLKBSZGET".
    

Sure - but what do you need this blocksize for?

  

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux