OpenCloudOS-Kernel/fs/jbd
Christoph Hellwig 9cb569d601 remove SWRITE* I/O types
These flags aren't real I/O types, but tell ll_rw_block to always
lock the buffer instead of giving up on a failed trylock.

Instead add a new write_dirty_buffer helper that implements this semantic
and use it from the existing SWRITE* callers.  Note that the ll_rw_block
code had a bug where it didn't promote WRITE_SYNC_PLUG properly, which
this patch fixes.

In the ufs code clean up the helper that used to call ll_rw_block
to mirror sync_dirty_buffer, which is the function it implements for
compound buffers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-08-18 01:09:01 -04:00
..
Kconfig Revert "task_struct: make journal_info conditional" 2009-12-17 13:23:24 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
checkpoint.c remove SWRITE* I/O types 2010-08-18 01:09:01 -04:00
commit.c kill BH_Ordered flag 2010-08-18 01:09:00 -04:00
journal.c remove SWRITE* I/O types 2010-08-18 01:09:01 -04:00
recovery.c ext3: Fix set but unused variables 2010-07-21 16:01:47 +02:00
revoke.c remove SWRITE* I/O types 2010-08-18 01:09:01 -04:00
transaction.c Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00