> > > > > > Why CONFIG_BLOCK? I think it is enough if it comes from the FS side > > > right? And for now, the only FS that needs that sort of bs > ps > > > guarantee is XFS with this series. Other filesystems such as bcachefs > > > that call mapping_set_large_folios() only enable it as an optimization > > > and it is not needed for the filesystem to function. > > > > > > So this is my conclusion from the conversation: > > > - Add a dependency in Kconfig on THP for XFS until we fix the dependency > > > of large folios on THP > > > > THP isn't supported on some arches, so isn't this effectively saying XFS can no > > longer be used with those arches, even if the bs <= ps? > > I'm good with that - we're already long past the point where we try