Re: [PATCH 10/16] GFS2: Logging and recovery

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

 



>+		a = (old_tail <= ai->ai_first);
>+		b = (ai->ai_first < new_tail);

>+	if (!(!error && dbn)) {
>+		printk(KERN_INFO "error=%d, dbn=%llu lbn=%u", error, (unsigned long long)dbn, lbn);
>+	}

error || dbn
-{}

>+#if 0
>+	unsigned int d;
>+
>+	d = log_distance(sdp, sdp->sd_log_flush_head, sdp->sd_log_head);
>+
>+	gfs2_assert_withdraw(sdp, d + 1 == sdp->sd_log_blks_reserved);
>+#endif

>+		if (lb->lb_real) {
>+			while (atomic_read(&bh->b_count) != 1)  /* Grrrr... */
>+				schedule();

Grrr? Someone stole us the b_count?

>+	unsigned int offset = sizeof(struct gfs2_log_descriptor);
>+	offset += (sizeof(__be64)-1);
>+	offset &= ~(sizeof(__be64)-1);
()


Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux