{
int rc, i;
struct obd_brw_set *set;
+ unsigned int nbytes;
ENTRY;
- CDEBUG(D_VFSTRACE, "VFS Op:inode=%lu,bytes=%u\n", inode->i_ino, llwp->npgs << PAGE_SHIFT);
+ nbytes = ((llwp->npgs-1)<< PAGE_SHIFT) + llwp->pga[llwp->npgs-1].count;
+
+ CDEBUG(D_VFSTRACE, "VFS Op:inode=%lu,bytes=%u\n",
+ inode->i_ino, nbytes);
set = obd_brw_set_new();
if (set == NULL) {
EXIT;
print $HTMHANDLE $summary_indent_string x $summary_indent;
print $HTMHANDLE "$text\n</A>";
} elsif ($text =~ /rpcxid #(\d+)(.*)/) {
- if ($text =~ /link=/) {
- $tmprpc = shift;
- $pidhashref = shift;
my $allexist = ($tmprpc->[$e_srvRPCent] &&
$tmprpc->[$e_srvRPCexit] &&
$tmprpc->[$e_cliRPCent] &&
$tmprpc->[$e_cliRPCexit]);
+ if ($text =~ /link=/) {
+ $tmprpc = shift;
+ $pidhashref = shift;
+
if ($tmprpc->[$e_rpcopc] < 104) {
$anchortag = sprintf "%s_%s_%s_%s",
$tmprpc->[$e_rpcopc], $tmprpc->[$e_rpcxid],