Exclamation [Q] I/O failure on P7500

I have a P7500 which i installed CM10 on it and it was working fine, till yesterday when i found out that the device restarts when i try to open Facebook application, so, i tried uninstalling it, the device restarts again so i though i may delete its files manually, so when i tried to delete com.facebook.katana from data directory the device restarted again so i knew its an I/O failure, as a work around a renamed the folder , installed facebook again and it worked fine.
then i decided to solve this problem by filling the device with dummy data by using dummy data generator but when i did so it filled the first 7 GB of the remaining storage and when their was only 3XX MB left the device restarted and now its in restart loop.
i tried doing wipe data\factory reset and it restarts too so any suggestions ?
would ADB be useful and if so what are its commands to be used