Re: [PATCH 12/12] xfs: split and cleanup xfs_log_reserve

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

 



On 02/19/12 20:31, Christoph Hellwig wrote:
Split the log regrant case out of xfs_log_reserve into a separate function,
and merge xlog_grant_log_space and xlog_regrant_write_log_space into their
respective callers.  Also replace the XFS_LOG_PERM_RESERV flag, which easily
got misused before the previous cleanups with a simple boolean parameter.

Reviewed-by: Ben Myers<bpm@xxxxxxx>
Signed-off-by: Christoph Hellwig<hch@xxxxxx>

---
  fs/xfs/xfs_log.c   |  198 ++++++++++++++++++++++++-----------------------------
  fs/xfs/xfs_log.h   |    1
  fs/xfs/xfs_trace.h |    1
  fs/xfs/xfs_trans.c |   17 +++-
  4 files changed, 103 insertions(+), 114 deletions(-)

Sorry for the omission. The clean up looks good.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux