Whamcloud - gitweb
LU-1131 osd-ldiskfs: better journal credit tracking
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 3 Oct 2012 21:26:50 +0000 (15:26 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Oct 2012 00:40:48 +0000 (20:40 -0400)
commit1f14f0da5098e9ad2fec1fa283659f48b8f827a7
tree8bae1c976eed9e9cfe57e36681d0c2140a11bcaf
parent04e1d0cb95e1ad1288676c276efd98f6786a58d7
LU-1131 osd-ldiskfs: better journal credit tracking

When running with a small MDT device during testing, it is possible to
overflow the reserved credit maximum for the journal.  Improve the
ldiskfs debugging for transaction credits so that it is possible to
better understand where the reserved credits are being used.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Iea90b771a5e19190cc95cbf8f2f725bede500c1e
Reviewed-on: http://review.whamcloud.com/4282
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Mike Pershin <tappro@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_io.c
lustre/osd-ldiskfs/osd_quota.c