summaryrefslogtreecommitdiff
path: root/usr/src/boot/lib
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-03-15 15:24:03 +0200
committerRobert Mustacchi <rm@joyent.com>2017-04-27 01:01:12 +0000
commit3dab25019f363b9dfef49cb3eeb29b0b2023b85b (patch)
tree9b2b5628b2b771cbbbc4fd285dac111760eecb94 /usr/src/boot/lib
parent9c0752ac0dc05794d2f8a8b4521d55e2b3f63247 (diff)
downloadillumos-joyent-3dab25019f363b9dfef49cb3eeb29b0b2023b85b.tar.gz
8010 loader: want mechanism to avoid RA with bcache
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/boot/lib')
-rw-r--r--usr/src/boot/lib/libstand/stand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/boot/lib/libstand/stand.h b/usr/src/boot/lib/libstand/stand.h
index 7653242656..cd10db19c4 100644
--- a/usr/src/boot/lib/libstand/stand.h
+++ b/usr/src/boot/lib/libstand/stand.h
@@ -195,6 +195,9 @@ extern struct open_file files[];
#define F_NODEV 0x0008 /* network open - no device */
#define F_GZIP 0x0010 /* file is compressed by gzip */
#define F_BZIP 0x0020 /* file is compressed by bzip */
+#define F_MASK 0xFFFF
+/* Mode modifier for strategy() */
+#define F_NORA (0x01 << 16) /* Disable Read-Ahead */
#define isascii(c) (((c) & ~0x7F) == 0)