[PATCH v2] udf: fix for pathetic mount times in case of invalid file system

2013-10-18 Thread Péter András Felvégi
From: Peter A. Felvegi The UDF driver was not strict enough about checking the IDs in the VSDs when mounting, which resulted in reading through all the sectors of the block device in some unfortunate cases. Eg, trying to mount my uninitialized 200G SSD partition (all 0xFF bytes) took ~350 minutes

[PATCH] udf: fix for pathetic mount times in case of invalid file system

2013-10-16 Thread Péter András Felvégi
From: Peter A. Felvegi The UDF driver was not strict enough about checking the IDs in the VSDs when mounting, which resulted in reading through all the sectors of the block device in some unfortunate cases. Eg, trying to mount my uninitialized 200G SSD partition (all 0xFF bytes) took ~350 minutes

Re: PROBLEM: udf mount takes forever to fail + proposed solution

2013-10-11 Thread Péter András Felvégi
ctors, but I didn't find anything in the specs suggesting a max length for the udf volume recognition area. Regards, Peter On 11 October 2013 17:18, Jan Kara wrote: > Hello, > > On Thu 10-10-13 23:23:11, Péter András Felvégi wrote: >> recently I made the mistake tryi

PROBLEM: udf mount takes forever to fail + proposed solution

2013-10-10 Thread Péter András Felvégi
Hello, recently I made the mistake trying to mount an unformatted ssd partition. The mount command 'hang', was unable to kill it. Top showed the process is in the uninterruptible D state. However, iotop showed slight activity, about 4M/s read from the disk that noone else used. This was 100% repro