/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.

data=writebackoption instead of disabling journaling completely? I heard that ex4 without journaling is faster than ext2. – Nyxynyx Mar 14 at 2:39