DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: devfs - Fix FREEBLKS

From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Nov 2010 07:27:57 -0800 (PST)

commit bf390b25e6ef64c1fa868d8d60845d9627b40472
Author: Alex Hornung <ahornung@gmail.com>
Date:   Fri Nov 19 14:49:17 2010 +0000

    devfs - Fix FREEBLKS
    * Since vn and md were changed to use the disk subsystem they
      essentially haven't been able to receive any BUF_CMD_FREEBLKS since
      their D_CANFREE flag was not propagated through the disk subsystem.
    * Fix this by making the flag specific to the device via SI_CANFREE and
      propagating the D_CANFREE of even *underlying*/covered devices to the
      top-level device's SI_CANFREE.

Summary of changes:
 sys/sys/conf.h              |    1 +
 sys/vfs/devfs/devfs_core.c  |   12 ++++++++++++
 sys/vfs/devfs/devfs_vnops.c |    2 +-
 3 files changed, 14 insertions(+), 1 deletions(-)


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]