Dave Chinner
9c5f8414ef
xfs: fix EFI transaction cancellation.
...
XFS_EFI_CANCELED has not been set in the code base since
xfs_efi_cancel() was removed back in 2006 by commit
065d312e15902976d256ddaf396a7950ec0350a8 ("[XFS] Remove unused
iop_abort log item operation), and even then xfs_efi_cancel() was
never called. I haven't tracked it back further than that (beyond
git history), but it indicates that the handling of EFIs in
cancelled transactions has been broken for a long time.
Basically, when we get an IOP_UNPIN(lip, 1); call from
xfs_trans_uncommit() (i.e. remove == 1), if we don't free the log
item descriptor we leak it. Fix the behviour to be correct and kill
the XFS_EFI_CANCELED flag.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-12-20 11:57:24 +11:00
..
2010-12-02 16:31:13 +11:00
2010-10-18 15:08:08 -05:00
2010-07-26 13:16:33 -05:00
2010-10-05 12:16:37 +02:00
2010-07-26 13:16:34 -05:00
2010-05-21 18:31:19 -04:00
2010-12-16 17:08:41 +11:00
2010-10-18 15:07:38 -05:00
2008-10-30 17:14:34 +11:00
2010-12-16 16:06:15 -06:00
2010-07-26 13:16:43 -05:00
2009-06-10 17:07:47 +02:00
2010-12-23 11:57:37 +11:00
2009-01-09 15:46:44 +11:00
2010-01-20 10:47:48 +11:00
2010-10-18 15:08:07 -05:00
2010-01-20 10:47:48 +11:00
2008-08-13 15:41:12 +10:00
2009-01-09 15:53:54 +11:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:31:38 -06:00
2010-12-01 07:40:20 -06:00
2010-12-01 07:40:19 -06:00
2008-10-30 16:58:50 +11:00
2009-12-14 23:08:16 -06:00
2010-12-02 16:31:13 +11:00
2010-10-18 15:07:38 -05:00
2010-10-18 15:08:07 -05:00
2010-12-16 16:05:22 -06:00
2010-10-18 15:08:07 -05:00
2010-01-20 10:47:17 +11:00
2010-12-01 07:40:20 -06:00
2010-01-15 15:31:23 -06:00
2010-10-18 15:08:08 -05:00
2010-07-26 13:16:51 -05:00
2010-07-26 13:16:33 -05:00
2009-03-29 09:55:42 +02:00
2010-10-18 15:08:07 -05:00
2010-07-26 13:16:33 -05:00
2010-01-15 15:31:38 -06:00
2010-07-26 13:16:33 -05:00
2008-12-01 11:37:35 +11:00
2010-07-26 13:16:44 -05:00
2010-01-20 10:47:25 +11:00
2010-12-01 07:40:20 -06:00
2010-12-01 07:40:20 -06:00
2010-12-20 11:57:24 +11:00
2010-12-20 11:57:24 +11:00
2010-11-10 12:00:48 -06:00
2010-07-26 13:16:51 -05:00
2010-10-18 15:08:08 -05:00
2011-01-04 11:35:03 +11:00
2010-08-24 11:46:31 +10:00
2010-10-18 15:07:38 -05:00
2009-02-09 08:37:14 +01:00
2010-10-18 15:08:07 -05:00
2009-09-01 12:45:39 -05:00
2010-12-16 17:08:41 +11:00
2010-12-01 07:40:20 -06:00
2010-07-26 13:16:36 -05:00
2010-12-02 16:31:13 +11:00
2010-12-23 12:02:31 +11:00
2009-08-31 14:46:22 -05:00
2011-01-04 11:35:03 +11:00
2010-12-16 16:05:51 -06:00
2010-10-18 15:08:08 -05:00
2010-06-24 11:35:17 +10:00
2010-10-18 15:07:42 -05:00
2010-12-16 16:05:22 -06:00
2010-12-16 16:05:30 -06:00
2010-05-24 10:33:39 -05:00
2010-10-22 17:32:27 -07:00
2010-07-26 13:16:38 -05:00
2010-12-16 17:08:41 +11:00
2011-01-04 11:35:03 +11:00
2010-01-15 15:34:22 -06:00
2010-01-15 15:34:22 -06:00
2010-11-10 12:00:48 -06:00
2010-12-09 17:07:02 -06:00
2010-10-18 15:07:50 -05:00
2010-05-28 14:58:24 -05:00
2010-07-26 13:16:33 -05:00
2010-02-12 13:43:57 -06:00
2010-10-18 15:08:08 -05:00
2010-07-26 13:16:33 -05:00
2010-10-18 15:08:07 -05:00
2010-07-26 13:16:34 -05:00
2010-10-18 15:07:45 -05:00
2010-08-24 11:42:52 +10:00
2009-02-09 08:37:14 +01:00
2010-10-18 15:08:02 -05:00
2010-12-02 16:31:13 +11:00
2010-10-18 15:08:08 -05:00
2010-10-18 15:08:06 -05:00
2010-10-18 15:08:06 -05:00
2010-12-23 12:02:31 +11:00
2010-10-18 15:08:06 -05:00
2009-12-14 23:08:16 -06:00