Re: [PATCH 3/7] Btrfs: check the return code of btrfs_save_ino_cache

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

 



On Fri, Jun 01, 2012 at 09:55:51AM -0400, Josef Bacik wrote:
> In doing my enospc work I would sometimes error out in btrfs_save_ino_cache
> which would abort the transaction but we'd still end up with a corrupted
> file system.  This is because we don't actually check the return value and
> so if somethign goes wrong we just exit out and screw everything up.  This
> fixes this particular part.  Thanks,

Dropping this patch, it doesn't actually matter if the space cache gets written
out or not and it actually fails if the caching has not finished which can lead
to a transaction being aborted for no reason.  Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux