/var/www/website
contains the files that powers a website, and /var/www/media
contains many tiny media files like images in subdirectories named after their date of creation. Deleting/pruning an entire subdirectory of many tiny files hogs the IO and slows the server to a crawl for hours.
Problem: I believe disabling ext4 journaling can speed up the deletion, is that true?
If so, is it advisable for the main website files at /var/www/website
to have journaling disabled as well, since they both reside in the same ext4 filesystem /dev/md4
.