maharmstone / btrfs

WinBtrfs - an open-source btrfs driver for Windows
GNU Lesser General Public License v3.0
5.92k stars 225 forks source link

Driver hangs when attempting to fill volume #574

Open lesderid opened 1 year ago

lesderid commented 1 year ago

I installed the driver (1.8.2) in a clean WinPE VM (1809, 10.0.17763.1) and created a new 8GiB btrfs volume with mkbtrfs (Compress set to 0 in registry). Just trying to write a 10GiB file (with random data) to it seems to cause the driver to hang irrecoverably once the volume has been filled.

(I'm hoping this is somehow related to #346/#438/etc.)

lesderid commented 1 year ago

I think it keeps retrying the write request and just never fails? On NTFS it would just keep writing until the disk is full and then bail out somehow. Not sure why it's not happening here, as drv_write does seem to return STATUS_DISK_FULL.

HomeBoy38 commented 1 year ago

From my experience (only an USB mechanical drive):

The first case was OK, but I cannot suffer the blue screen or windows freeze, and so, unfortunately, even if it is promising, I had to uninstall the driver

maharmstone commented 1 year ago
  • instead of switching to readonly, Windows (10 & 11) goes to a blue screen, computer is restarted (no scrub error)

The minidump for this would be helpful, if you could provide it.

HomeBoy38 commented 1 year ago

072823-12531-01.zip Please find attached my latest minidump, hope this is the correct one

maharmstone commented 1 year ago

Thanks. This appears to be the same issue as in https://github.com/maharmstone/btrfs/issues/580.