Why is bwrite not implemented in Linux? What would be the implementation of bwrite if it can be done? The following is the implementation of bread in fs/buffer.c struct buffer_head * bread(kdev_t dev, int block, int size) { struct buffer_head * bh; bh = getblk(dev, block, size); touch_buffer(bh); if (buffer_uptodate(bh)) { conditional_schedule(); return bh; } ll_rw_block(READ, 1, &bh); wait_on_buffer(bh); if (buffer_uptodate(bh)) return bh; brelse(bh); return NULL; } Regards, Gopu Bhaskar. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/