Re: [PATCH 1/2] xfs: remove efi from AIL in log recovery error

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

 



On 03/28/14 11:07, Brian Foster wrote:
On Fri, Mar 28, 2014 at 10:41:06AM -0500, Mark Tinguely wrote:
On 03/28/14 10:24, Brian Foster wrote:
On Tue, Mar 25, 2014 at 03:06:34PM -0500, Mark Tinguely wrote:

...

Hi Mark,

If we hit the scenario where we start skipping EFIs after an error, is
the equivalent unpin() call from process_efi() not necessary on the
subsequent EFIs?

Brian

yes, good catch. They will have to be decremented twice. something like:
+		if (!error)
+			error = xlog_recover_process_efi(log->l_mp, efip);
+		else
+			xfs_efi_item_unpin(&efip->efi_item, 0);
+		if (error)
...


Ok, looks reasonable to me. An extra sentence or two in the previous
comment to explain what's going on there would be nice as well. ;)

Brian

Probably will flip the if statement logic, but a comment is also a good idea. Thank-you for the feed back.

--Mark.

_______________________________________________
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