Question regarding transaction end/commit

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

 



Hello all,

I've been struggling to understand when to use 'btrfs_end_transaction()' instead of 'btrfs_commit_transaction()', and vice-versa.

My doubts arise due to use of both of them in different points of the code, and some times a given method may even chose to do one instead of the other based on different conditions.

Is there any rule of thumbs that may be used to chose between them, or any piece of information lying around that may give me some more insight on this matter?

Cheers.

---
João Eduardo Luís




--
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