Re: How do we handle the same but uptodated data to disk cache?

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

 



On Monday May 26, bo@anthologysolutions.com wrote:
> Hello,
> 
> I want to write the data to the fixed sector with the same size frequently
> just like MD super block, but I do not want to sync and flush the dev
> on each write.
> 
> For example, to write md super block in /drivers/md/md.c

I suggest you look at a newer md.c.  With 2.4.21pre or 2.5.* have
"sync_page_io" which does what you want more effectively.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux