Re: [PATCH v3 14/16] bcachefs: add pre-content fsnotify hook to fault

2024-08-10 Thread Kent Overstreet
On Fri, Aug 09, 2024 at 02:44:22PM GMT, Josef Bacik wrote: > bcachefs has its own locking around filemap_fault, so we have to make > sure we do the fsnotify hook before the locking. Add the check to emit > the event before the locking and return VM_FAULT_RETRY to retrigger the > fault once the eve

Re: [GIT PULL] bcachefs fixes for 6.11-rc3, more

2024-08-10 Thread pr-tracker-bot
The pull request you sent on Sat, 10 Aug 2024 12:46:42 -0400: > git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-08-10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/31b244460634c74430745a74e56f5c88c43f079b Thank you! -- Deet-doot-dot, I am a bot. https://kor

[PATCH 2/2] bcachefs: Remove unused parameter of bkey_mantissa_bits_dropped

2024-08-10 Thread Alan Huang
The idx parameter of bkey_mantissa_bits_dropped is unused, remove it. Signed-off-by: Alan Huang --- fs/bcachefs/bset.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/bcachefs/bset.c b/fs/bcachefs/bset.c index a2a87ed09f37..00a821f617a5 100644 --- a/fs/bcachefs/bset.c

[PATCH 1/2] bcachefs: Remove unused parameter of bkey_mantissa

2024-08-10 Thread Alan Huang
The idx parameter of bkey_mantissa became unused since commit b904a7991802 ("bcachefs: Go back to 16 bit mantissa bkey floats"), so remove it. Signed-off-by: Alan Huang --- fs/bcachefs/bset.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/bcachefs/bset.c b/fs/bcach

[PATCH 0/2] Remove two unused parameters

2024-08-10 Thread Alan Huang
This series simply removes two unused parameters. Alan Huang (2): bcachefs: Remove unused parameter of bkey_mantissa bcachefs: Remove unused parameter of bkey_mantissa_bits_dropped fs/bcachefs/bset.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) -- 2.45.2

[GIT PULL] bcachefs fixes for 6.11-rc3, more

2024-08-10 Thread Kent Overstreet
Hi Linus, couple last minute fixes for the new disk accounting. Cheers, Kent The following changes since commit 73dc1656f41a42849e43b945fe44d4e3d55eb6c3: bcachefs: Use bch2_wait_on_allocator() in btree node alloc path (2024-08-07 21:04:55 -0400) are available in the Git repository at: git

[PATCH] bcachefs: Convert open-coded extra computation to helper

2024-08-10 Thread Alan Huang
This patch replaces open-coded extra computation to eytzinger1_extra. Signed-off-by: Alan Huang --- fs/bcachefs/bset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/bset.c b/fs/bcachefs/bset.c index b95deeb83071..e7c44f35f0c5 100644 --- a/fs/bcachefs/bset.c +++

[PATCH] bcachefs: Remove dead code in __build_ro_aux_tree

2024-08-10 Thread Alan Huang
This logic is no longer useful since commit 3ce8b463e3e0 ("bcachefs: kill bset_tree->max_key"), so remove it. Signed-off-by: Alan Huang --- fs/bcachefs/bset.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/bcachefs/bset.c b/fs/bcachefs/bset.c index 575e1d0b6eeb..b95deeb83071 100644 ---