[PATCH 0/4] Finally remove userspace transaction support

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

 



Userspace transaction were initially added to he benefit of Ceph, however 
in recent times it became clear that btrfs is not suitable for Ceph's workload
and has even been actively discoured. Additionaly, the userspace transaction
mechanism has always been a sort of a hack, which could easily lead to a 
deadlock unless care is taken. 

All things considered there is no point in keeping the code around. Userspace
transaction interface was deprecated in kernel version 4.14. Now it's time to 
completely remove it in 4.17. 

The first patch removes the ioctl-related code. Following patches just deal 
with unused functions/values following ioctl removal. 

Nikolay Borisov (4):
  btrfs: Remove userspace transaction ioctls
  btrfs: Remove code referencing unused TRANS_USERSPACE
  btrfs: Remove transaction handle from btrfs_file_private
  btrfs: Remove btrfs_fs_info::open_ioctl_trans

 fs/btrfs/ctree.h       |  2 --
 fs/btrfs/extent-tree.c |  3 +-
 fs/btrfs/file.c        |  2 --
 fs/btrfs/ioctl.c       | 95 --------------------------------------------------
 fs/btrfs/transaction.c | 36 +++++--------------
 fs/btrfs/transaction.h |  5 +--
 6 files changed, 11 insertions(+), 132 deletions(-)

-- 
2.7.4

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