Chunwei Chen 376994828f Fix NULL pointer when O_SYNC read in snapshot
When doing read on a file open with O_SYNC, it will trigger zil_commit.
However for snapshot, there's no zil, so we shouldn't be doing that.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #6478 
Closes #6494
2017-08-11 08:57:54 -07:00
2017-06-05 10:52:15 -07:00
2017-08-11 08:56:24 -07:00
2017-08-10 15:45:25 -07:00
2017-07-29 13:25:53 -07:00
2017-08-09 15:31:08 -07:00
2017-08-10 07:53:10 -07:00
2017-01-03 11:31:18 -06:00
2017-05-25 10:14:13 -07:00
2014-09-02 14:18:53 -07:00
2017-08-09 15:31:08 -07:00
2015-05-11 15:07:00 -07:00
2017-07-26 10:13:25 -07:00
2008-12-01 14:49:34 -08:00
2017-06-01 06:24:28 -07:00

ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community.

ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers. And it's native!

Official Resources

Installation

Full documentation for installing ZoL on your favorite Linux distribution can be found at our site.

Contribute & Develop

We have a separate document with contribution guidelines.

S
Description
No description provided
Readme 122 MiB
Languages
C 70.2%
Shell 19.9%
Assembly 5.1%
M4 1.9%
Python 1.6%
Other 1.3%