]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: introduce new internal log vector structure
authorDave Chinner <dchinner@redhat.com>
Tue, 23 Mar 2010 00:43:17 +0000 (11:43 +1100)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:10 +0000 (09:58 -0500)
commit53c9721d9c8f6c5718e0ff1dced77e73acb4e384
tree254f130969b118cc777371691e892db20e96b5a6
parentde050dd972759a6c79adbb96ca7bb4d8015337fd
xfs: introduce new internal log vector structure

The current log IO vector structure is a flat array and not
extensible. To make it possible to keep separate log IO vectors for
individual log items, we need a method of chaining log IO vectors
together.

Introduce a new log vector type that can be used to wrap the
existing log IO vectors on use that internally to the log. This
means that the existing external interface (xfs_log_write) does not
change and hence no changes to the transaction commit code are
required.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h