HI,
I have a volume filter driver whose objective is to get the notification on volume resize. I got it for basic volume. I got a notification event as GUID_IO_VOLUME_PHYSICAL_CONFIGURATION_CHANGE when I registered my volume filter device with PNP for event category EventCategoryTargetDeviceChange.
But I am not able to get it for dynamic disk.
Following is the stack trace when I extended a dynamic disk:
f62da7f8 804e0e0d diskperf!DiskPerfDeviceControl+0x1b (FPO: [Non-Fpo]) (CONV: stdcall) [e:\winddk\3790.1830\src\storage\filters\diskperf\diskperf.c @ 1369]
f62da808 f737d11c nt!IofCallDriver+0x3f (FPO: [0,0,0])
f62da84c f737b5d4 dmio!volnt_get_geometry+0x8a (FPO: [Non-Fpo])
f62da8b0 804e0e0d dmio!volioctl+0x192 (FPO: [Non-Fpo])
f62da8c0 f736b894 nt!IofCallDriver+0x3f (FPO: [0,0,0])
f62da8e4 804e0e0d volsnap!VolSnapDeviceControl+0x2a6 (FPO: [Non-Fpo])
f62da8f4 f73ae7d6 nt!IofCallDriver+0x3f (FPO: [0,0,0])
f62da914 804e0e0d volflt!VolFltDeviceControl+0x236 (FPO: [Non-Fpo]) f62da924 f72530a4 nt!IofCallDriver+0x3f (FPO: [0,0,0])
f62da948 f729ec3d Ntfs!NtfsDeviceIoControl+0x54 (FPO: [Non-Fpo])
f62da988 f72ba010 Ntfs!NtfsGetDiskGeometry+0x5d (FPO: [Non-Fpo])
f62daba4 f7282774 Ntfs!NtfsExtendVolume+0x210 (FPO: [Non-Fpo])
f62dabb8 f7272eef Ntfs!NtfsUserFsRequest+0x33f (FPO: [Non-Fpo])
f62dabc8 f7272e9e Ntfs!NtfsCommonFileSystemControl+0x43 (FPO: [2,0,0])
f62dac3c 804e0e0d Ntfs!NtfsFsdFileSystemControl+0x124 (FPO: [Non-Fpo])
f62dac4c 805759ea nt!IofCallDriver+0x3f (FPO: [0,0,0])
f62dac60 80580c24 nt!IopSynchronousServiceTail+0x6c (FPO: [Non-Fpo])
f62dad00 8057f52c nt!IopXxxControlFile+0x607 (FPO: [Non-Fpo])
f62dad34 804e7a8c nt!NtFsControlFile+0x28 (FPO: [Non-Fpo])
f62dad34 7ffe0304 nt!KiSystemService+0xcb (FPO: [0,0] TrapFrame @ f62dad64)
0074fd78 77f42845 SharedUserData!SystemCallStub+0x4 (FPO: [0,0,0])
0074fd7c 0101efc1 ntdll!NtFsControlFile+0xc (FPO: [10,0,0])
0074fdb4 0102c760 dmadmin!LowExtendFs+0x3c (FPO: [Non-Fpo])
0074fe5c 6cc0f279 dmadmin!CVolumeClient::DiskMerge+0x2d1 (FPO: [Non-Fpo])
0074fe7c 6cc0f2e7 dmconfig!req_response_internal+0xda (FPO: [Non-Fpo])
0074fe9c 6cc1605a dmconfig!req_complete+0x14 (FPO: [2,0,0])
0074feb8 6cc0f59d dmconfig!cs_req_vol_grow+0xb1 (FPO: [Non-Fpo])
0074ff6c 6cbfc416 dmconfig!request_loop+0x191 (FPO: [Uses EBP] [0,38,3])
0074ffa8 0102434f dmconfig!cs_create_config_thread+0x9a6 (FPO: [Uses EBP] [3,11,0])
0074ffb8 77e4a990 dmadmin!VMConfig::ConfigThreadStartup+0xd0 (FPO: [0,0,0])
0074ffec 00000000 kernel32!BaseThreadStart+0x34 (FPO: [Non-Fpo])
We have some events like
GUID_IO_VOLUME_DISMOUNT,
GUID_IO_VOLUME_MOUNT,
GUID_IO_VOLUME_LOCK,
GUID_IO_VOLUME_UNLOCK for file system unmount,mount,.
Do we have something when file system gets extended ?
Thanks in advance.
- Pankaj
Once upon a time there was 1 GB storage in your inbox. Click here for happy ending.