The new file scanner has inotify support and runs in its own thread, including for performing the initial rescan.