Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] Remove deprecated inode cache feature
@ 2020-11-26 13:10 Nikolay Borisov
  2020-11-26 13:10 ` [PATCH 1/3] btrfs: Move btrfs_find_highest_objectid/btrfs_find_free_objectid to disk-io.c Nikolay Borisov
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Nikolay Borisov @ 2020-11-26 13:10 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Nikolay Borisov

This patchset removes inode cache feature which has been deprecated since kernel
v5.9 release. First 2 patches move code around and replace calls of functions
which are to be removed. Patch 3 finally removes inode cache for good.

I tested this under xfstest and didn't observe any new regressions.

Nikolay Borisov (3):
  btrfs: Move btrfs_find_highest_objectid/btrfs_find_free_objectid to
    disk-io.c
  btrfs: Replace calls to btrfs_find_free_ino with
    btrfs_find_free_objectid
  btrfs: Remove inode cache feature

 fs/btrfs/Makefile           |   2 +-
 fs/btrfs/ctree.h            |  15 +-
 fs/btrfs/disk-io.c          |  78 +++--
 fs/btrfs/disk-io.h          |   2 +
 fs/btrfs/free-space-cache.c | 177 -----------
 fs/btrfs/free-space-cache.h |   6 -
 fs/btrfs/inode-map.c        | 582 ------------------------------------
 fs/btrfs/inode-map.h        |  16 -
 fs/btrfs/inode.c            |  23 +-
 fs/btrfs/ioctl.c            |   1 -
 fs/btrfs/relocation.c       |   1 -
 fs/btrfs/super.c            |   8 -
 fs/btrfs/transaction.c      |  19 --
 fs/btrfs/tree-log.c         |   1 -
 14 files changed, 66 insertions(+), 865 deletions(-)
 delete mode 100644 fs/btrfs/inode-map.c
 delete mode 100644 fs/btrfs/inode-map.h

--
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-11-27 16:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-26 13:10 [PATCH 0/3] Remove deprecated inode cache feature Nikolay Borisov
2020-11-26 13:10 ` [PATCH 1/3] btrfs: Move btrfs_find_highest_objectid/btrfs_find_free_objectid to disk-io.c Nikolay Borisov
2020-11-26 13:10 ` [PATCH 2/3] btrfs: Replace calls to btrfs_find_free_ino with btrfs_find_free_objectid Nikolay Borisov
2020-11-26 13:10 ` [PATCH 3/3] btrfs: Remove inode cache feature Nikolay Borisov
2020-11-27 16:30   ` David Sterba
2020-11-26 15:31 ` [PATCH 0/3] Remove deprecated " David Sterba
2020-11-26 16:00   ` Nikolay Borisov
2020-11-27 14:58     ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox