Over the years, I have seen (and participated) in several debates as to the need for defragmentation with the linux file systems - I have received considerable opposition from linux "afficionados" (and I am being polite here) who merely regurgitate what they have read, without really understanding the issues - everyone backed down when I offered to prepare and send them a badly fragmented disk in either ext2/3 (their choice) format, provided they were willing to pay the shipping.
Because these linux afficionados cling to the theory that the files systems do not fragment and so defragmentation tools are not required, no work is being done on any tools - however - the use of linux in NAS boxes such as these, increases the possibility/probability of fragmentation - NAS systems can be reasonably expected to have multiple data streams written to them - and for what it's worth, I can create a fragmented disk writing one data stream at a time.
None of the answers coming from DLink really address the problem - the first answer suggests the use of third party tools, but faileds to identify any, even when prompted, instead taking cover under the old "linux file systems do not need defragmenting" umbrella - I was looking forward to that answer because it is my belief (whether right or wrong) that the defragementation tool would have to be on run on the NAS itself and not across the network, and DLink provides no way to run third party tools on the DNS-323.
This last answer also sidesteps the issue.
Fragmentation occurs and causes performance issues - there is no point in lamenting the fact that the tools do not exist - someone has to create them - who better than the manufacturer of the hardware?