Re: [PATCH v5 3/9] btrfs: Introduce per-transaction mount_opt to keep mount option consistent during transaction.

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

 



On Fri, Jan 30, 2015 at 05:20:48PM +0800, Qu Wenruo wrote:
> Before this patch, mount_opt is not consistent during a transaction.
> btrfs_parse_options() can race with transaction.
> 
> Now each transaction will keep a copy of fs_info->mount_opt upon
> creation, and new btrfs_test_trans_opt() macro is introduced to get the
> mount_opt in the transaction.
> 
> Signed-off-by: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxx>
--
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