bcachefs: c->ro_ref
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 6 Dec 2023 21:26:18 +0000 (16:26 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:40 +0000 (11:47 -0500)
commit63508b756443cb38e432dea01fec36248cb25cd7
treecbc9df99973f3ccef973b82516655329556d2d98
parent483dea4431240dbd6503dc1b2801e391068ba737
bcachefs: c->ro_ref

Add a new refcount for async ops that don't necessarily need the fs to
be RW, with similar lifetime/rules otherwise as c->writes.

To be used by online fsck.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs.h
fs/bcachefs/super.c