This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# TODO: Look at nixpkgs/pkgs/build-support/setup-hooks/auto-patchelf.sh | |
# https://ms-vsliveshare.gallery.vsassets.io/_apis/public/gallery/publisher/MS-vsliveshare/extension/vsliveshare/0.3.423/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage | |
set -eu | |
TOOLS="patchelf xsel" | |
DEPS="utillinux.out openssl.out icu zlib curl.out lttng-ust libsecret libkrb5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-yml() { | |
docker inspect -f $' | |
version: '2.2' | |
services: | |
{{.Name}} | |
image: {{.Config.Image}} | |
entrypoint: {{json .Config.Entrypoint}} | |
command: {{json .Config.Cmd}} | |
environment: {{range .Config.Env}} | |
- {{.}}{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIR="$( cd "$( dirname "$0" )" && pwd )" | |
function chroot() | |
{ | |
CHROOT_ROOT=$1 | |
echo "Chrooting to $CHROOT_ROOT" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Info for issue-1208 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/module/zfs/spa.c b/module/zfs/spa.c | |
index 4c8f8bf..6b4ca40 100644 | |
--- a/module/zfs/spa.c | |
+++ b/module/zfs/spa.c | |
@@ -5250,6 +5250,13 @@ spa_vdev_remove_from_namespace(spa_t *spa, vdev_t *vd) | |
ASSERT(spa_config_held(spa, SCL_ALL, RW_WRITER) == SCL_ALL); | |
ASSERT(vd == vd->vdev_top); | |
+ // slog stuck hack - [email protected] - https://github.com/zfsonlinux/zfs/issues/1422 | |
+ if (vd->vdev_islog == 1 && vd->vdev_removing == 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test started: 2013-11-14_13-21-20 | |
pre_pkg_setup() { | |
EGIT_REPO_URI="file:///zfs/zfs" | |
EGIT_BRANCH="issue-1803" | |
} | |
pre_pkg_setup() { | |
EGIT_REPO_URI="https://github.com/zfsonlinux/spl.git" | |
EGIT_BRANCH="master" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cd /etc/portage/env | |
# find . -ls | |
1040459 4 drwxr-xr-x 4 root root 4096 May 17 20:57 . | |
1040460 4 drwxr-xr-x 2 root root 4096 May 17 21:00 ./sys-fs | |
1044487 4 -rw-r--r-- 1 root root 501 May 17 21:00 ./sys-fs/zfs | |
1044262 0 lrwxrwxrwx 1 root root 3 Oct 10 2012 ./sys-fs/zfs-kmod -> zfs | |
1043259 4 drwxr-xr-x 2 root root 4096 Jan 30 22:40 ./sys-kernel | |
1044264 4 -rw-r--r-- 1 root root 223 Sep 1 2012 ./sys-kernel/spl | |
# cat ./sys-fs/zfs-kmod # This allows me to jump around people's repos and branches | |
#!/bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git ls-files -o -i --exclude-standard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type d -empty -exec touch {}/.gitkeep \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true ; do clear ; <foo command here> ; sleep 5 ; done |
NewerOlder