sb_bread and inode page cache

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

 



Hello.

Let's suppose that we have ordinal block file system:

writepage(struct page *page, struct writeback_control *wbc)
{
   return block_write_full_page(page, get_block, wbc);
}

Who have to full newly allocated block with zeros?

Am I right if make it in get_block using sb_* functions,
it may cause many troubles because of "inode cache" and block device cache
is seperate things?

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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